Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to resume the checkpoint to continue pretraining? #84

Open
Einstone-rose opened this issue Apr 19, 2024 · 0 comments
Open

How to resume the checkpoint to continue pretraining? #84

Einstone-rose opened this issue Apr 19, 2024 · 0 comments

Comments

@Einstone-rose
Copy link

I find a issue when I attempt to continue pretraining?

trainer.train(resume_from_checkpoint=True) File "/opt/conda/lib/python3.8/site-packages/transformers/trainer.py", line 1539, in train return inner_training_loop( File "/opt/conda/lib/python3.8/site-packages/transformers/trainer.py", line 1676, in _inner_training_loop deepspeed_load_checkpoint(self.model_wrapped, resume_from_checkpoint) File "/opt/conda/lib/python3.8/site-packages/transformers/deepspeed.py", line 389, in deepspeed_load_checkpoint raise ValueError(f"Can't find a valid checkpoint at {checkpoint_path}") ValueError: Can't find a valid checkpoint at /ossfs/workspace/mnt_new/xxx/llama-vid/work_dirs/llama-vid-7b-pretrain-224-video-fps-1/checkpoint-15000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant