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
Model save not working #3
Comments
I wonder what's the issue with model saving? Could you be more specific? is it not saving any models? If so, I think you could check the version of lightning you installed. I think pytorch-lightning==0.8.5 should work! edit: should be pytorch-lightning==0.9.0. NOT 0.8.5 |
Nope that doesn't work either. I tried
|
I still think this is a package version issue. Here is a solution. Could you configure your virtual env using this docker image? |
I have the same problem |
Could you try pip install pytorch-lightning==0.9.0 and let me know if this solves the problem (Side note: I tried to look into the problem and realized that I used 0.9.0 version. Previously used `conda env export' but that's not printing the right version of pytorch-lightning that I actually used. ) |
It works! Thanks! |
There are a few
checkpoint_callback
being created inlighting_base.py
and I think that using the callback on line https://github.com/XiangLi1999/PrefixTuning/blob/cleaned/seq2seq/lightning_base.py#L749 does allow us to save the model. I am rerunning the model right now to verify without the line. However, since it takes a long time to train, I was hoping that you can help me fix model saving.Thanks
The text was updated successfully, but these errors were encountered: