Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[training] SAVE_STATE_WARNING was removed in pytorch (huggingface#8979)
* [training] SAVE_STATE_WARNING was removed in pytorch FYI `SAVE_STATE_WARNING` has been removed 3 days ago: pytorch/pytorch#46813 Fixes: huggingface#8232 @sgugger * style, but add () to prevent autoformatters from botching it * switch to try/except * cleanup
- Loading branch information