Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ debug_param2name_id_shape_device
Function
debug_param2name_id_shape_device
deepspeed/utils/debug.py:76–77 ·
view source on GitHub ↗
(param)
Source
from the content-addressed store, hash-verified
74
75
76
def
debug_param2name_id_shape_device(param):
77
return
f
"name={debug_param2name(param)} id={ds_id(param)} shape={ds_shape(param)} device={param.device}"
78
79
80
def
debug_param2name_id_numel(param):
Callers
2
partition
Method · 0.90
partition_gradients
Method · 0.90
Calls
3
debug_param2name
Function · 0.85
ds_id
Function · 0.85
ds_shape
Function · 0.85
Tested by
no test coverage detected