Skip to content

TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' #17

@loboere

Description

@loboere

I'm trying to train a lora but it gives me an error

!python train_c_lora.py configs/training/finetune_c_3b_lora.yaml

Launching Script
Traceback (most recent call last):
  File "/kaggle/working/StableCascade/train_c_lora.py", line 326, in <module>
    device=torch.device(int(os.environ.get("SLURM_LOCALID")))
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions