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

Fail to load random states from checkpoints saved #137

Open
minkowski0125 opened this issue Sep 25, 2023 · 2 comments
Open

Fail to load random states from checkpoints saved #137

minkowski0125 opened this issue Sep 25, 2023 · 2 comments

Comments

@minkowski0125
Copy link
Member

I loaded checkpoint to continue pretrain and found the following error.

[2023-09-25 15:53:27,994] [INFO] [RANK 0] Unable to load optimizer from checkpoint <ckpt_path>, exiting. Specify --no-load-rng or --finetune to prevent attempting to load the random state.

checked to find there is no 'rng_tracker_states' item saved in function save_checkpoint but loaded in load_checkpoint (sat/training/model_io.py).

@Jayson236
Copy link

Has this issue been resolved?

@elesun2018
Copy link

请问optimizer是如何保存的,继续训练时,没有找到加载的地方

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

3 participants