Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/deepspeedai/DeepSpeed
/ get_optim_files
Function
get_optim_files
deepspeed/utils/zero_to_fp32.py:94–95 ·
view source on GitHub ↗
(checkpoint_dir)
Source
from the content-addressed store, hash-verified
92
93
94
def
get_optim_files(checkpoint_dir):
95
return
get_checkpoint_files(checkpoint_dir,
"*_optim_states.pt"
)
96
97
98
def
get_model_state_files(checkpoint_dir):
Callers
2
test_get_optim_files
Function · 0.90
_get_fp32_state_dict_from_zero_checkpoint
Function · 0.85
Calls
1
get_checkpoint_files
Function · 0.85
Tested by
1
test_get_optim_files
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…