-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Loading a model checkpoint that is trained on TPU using a GPU #2303
Comments
Have you tried to load on CPU? |
Can you put the error? |
|
@Laksh1997 I tried, it still gives the RuntimeError |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@lezwon mind have look? :] |
@lezwon Thank you for the update! |
This issue has been automatically marked as stale because it hasn't had any recent activity. This issue will be closed in 7 days if no further activity occurs. Thank you for your contributions, Pytorch Lightning Team! |
What is your question?
Is it possible to load a model that is trained on a TPU saved using ModelCheckpoint on a GPU for inference?
Code
What have you tried?## ❓ Questions and Help
Tried to normally load the weights as with a GPU but throws an error.
What's your environment?
Kaggle GPU
torchvision==0.6.0a0+82fd1c8
torch==1.5.0
pytorch-lightning-0.8.1
The text was updated successfully, but these errors were encountered: