MCPcopy Create free account
hub / github.com/MoonshotAI/checkpoint-engine / barrier

Method barrier

checkpoint_engine/distributed/base.py:149–150  ·  view source on GitHub ↗
(self, group: DistributedProcessGroup | None = None, **kwargs)

Source from the content-addressed store, hash-verified

147 torch_dist.broadcast(tensor, src, group, **kwargs)
148
149 def barrier(self, group: DistributedProcessGroup | None = None, **kwargs):
150 torch_dist.barrier(group, **kwargs)
151
152 def new_group(self, ranks: list[int], **kwargs) -> DistributedProcessGroup | None:
153 return torch_dist.new_group(ranks, **kwargs)

Callers

nothing calls this directly

Calls 1

barrierMethod · 0.45

Tested by

no test coverage detected