Skip to content

FileNotFoundError: [Errno 2] No such file or directory: 'checkpoint-100/model-00001-of-00003.safetensors' #155

Open
@dshwei

Description

@dshwei

when mutil gpu run starcoder in full parameter tuning ,

File "starcoder-git/finetune.py", line 44, in on_save
kwargs["model"].save_pretrained(checkpoint_folder)
File "/miniconda3/envs/sqlcode/lib/python3.9/site-packages/transformers/modeling_utils.py", line 2480, in save_pretrained
os.remove(full_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'checkpoint-100/model-00001-of-00003.safetensors'

this error maybe when mutil pIds process checkpoints in saved directory

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