Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Neuron: When save_safetensor=False, no need to move model to CPU (#29703
) save_safetensor=True is default as of release 4.35.0, which then required TPU hotfix #27799 (issue #27578). However, when the flag save_safetensor is set to False (compatibility mode), moving the model to CPU causes generation of too many graphs during checkpoint #28438. This PR disable moving of model to CPU when save_safetensor=False.
- Loading branch information