Saving checkpoint by parts #1643
Closed
jaro-sevcik
started this conversation in
General
Replies: 2 comments
-
|
Unfortunately not, though this is a feature we have planned, and it will basically do exactly what you've described. For now, your best option is to save separate checkpoints and merge them together when restoring. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you for the quick reply! I do not control the loading side (MaxText), so it is a bit unfortunate... |
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.
-
Is there a way to save a checkpoint in multiple steps so that their PyTrees are combined?
Motivation: I have a massive checkpoint from Hugging face and I would like to convert that to Orbax. Naive loading and saving the checkpoint will not fit into memory, so I would like to load and save each tensor individually.
Beta Was this translation helpful? Give feedback.
All reactions