pytorch
7c67139e - [state_dict][3/N] Cleanup StateDictOptions, make it more readable (#111275)

Commit
1 year ago
[state_dict][3/N] Cleanup StateDictOptions, make it more readable (#111275) This is a reland PR for https://github.com/pytorch/pytorch/pull/111108 with the proper docstring fix. 1. Rename DistributedStateDictOptions to StateDictOptions. 2. Remove cpu_offload as we have not yet required this option. 3. Rename save_frozen_parameters to ignore_frozen_params. Differential Revision: [D50294352](https://our.internmc.facebook.com/intern/diff/D50294352/) Pull Request resolved: https://github.com/pytorch/pytorch/pull/111275 Approved by: https://github.com/wz337 ghstack dependencies: #111106, #111107
Author
Committer
Parents
Loading