Error while saving model #6583
Unanswered
nickKyr
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
Something in your checkpoint is larger than 4GB, could you figure out what? To answer your question, there is currently no way to change the pickle parameter in torch.save, but not sure you should do that or even that this will solve your problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello pytorch lightning community,
I get a strange error while saving the model via pl.callbacks.ModelCheckpoint when I use multiple GPUs (dp accelerator). Based on an online search, I should set pickle version to 4? I know that in torch.save there is a pickle parameter, but is there something similar in the Trainer API or in ModelCheckpoint?
I will try to reproduce the error in the boring model. You can see below the error I get.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions