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

Method partitions

deepspeed/runtime/pipe/module.py:530–531  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

528 return tied_comms
529
530 def partitions(self):
531 return self.parts
532
533 def stage_owner(self, layer_idx):
534 assert 0 <= layer_idx < self._num_layers

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected