Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ padding_size
Method
padding_size
deepspeed/runtime/zero/partition_parameters.py:1646–1647 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1644
return
self._aligned_size(param)
1645
1646
def
padding_size():
1647
return
self._padding_size(param)
1648
1649
def
partition_numel():
1650
return
self._partition_numel(param)
Callers
1
_create_fp16_partitions_with_defragmentation
Method · 0.80
Calls
1
_padding_size
Method · 0.95
Tested by
no test coverage detected