MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / aligned_size

Method aligned_size

deepspeed/runtime/zero/partition_parameters.py:1643–1644  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1641 self._partition_gradients(param_list, partition_buffers=partition_buffers, accumulate=accumulate)
1642
1643 def aligned_size():
1644 return self._aligned_size(param)
1645
1646 def padding_size():
1647 return self._padding_size(param)

Callers

nothing calls this directly

Calls 1

_aligned_sizeMethod · 0.95

Tested by

no test coverage detected