Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ debug_param2name
Function
debug_param2name
deepspeed/utils/debug.py:96–100 ·
view source on GitHub ↗
(param)
Source
from the content-addressed store, hash-verified
94
95
96
def
debug_param2name(param):
97
if
param in param_names:
98
return
param_names[param]
99
else
:
100
return
"unknown"
101
102
103
def
ds_id(param):
Callers
11
test_names_resolve_and_fall_back
Function · 0.90
test_clear_and_re_extract
Function · 0.90
test_collected_parameter_entry_is_removed
Function · 0.90
reduce_independent_p_g_buckets_and_remove_grads
Method · 0.90
_get_param_group_idx
Method · 0.90
reduce_ipg_grads
Method · 0.90
debug_param2name_id
Function · 0.85
debug_param2name_id_shape
Function · 0.85
debug_param2name_id_shape_device
Function · 0.85
debug_param2name_id_numel
Function · 0.85
debug_param2name_id_shape_status
Function · 0.85
Calls
no outgoing calls
Tested by
3
test_names_resolve_and_fall_back
Function · 0.72
test_clear_and_re_extract
Function · 0.72
test_collected_parameter_entry_is_removed
Function · 0.72