Add `move_to_device` kwarg to the optimizer's `load_state_dict` (#1344)
This makes it possible to load an optimizer checkpoint without automatically moving the optimizer's state to the GPU.
Showing
Please register or sign in to comment
This makes it possible to load an optimizer checkpoint without automatically moving the optimizer's state to the GPU.