MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / commit

Method commit

lightx2v/common/ops/attn/utils/ring_comm.py:35–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

33
34 def commit(self):
35 if self._reqs is not None:
36 raise RuntimeError("commit called twice")
37 self._reqs = dist.batch_isend_irecv(self._ops)
38
39 def wait(self):
40 if self._reqs is None:
41 raise RuntimeError("wait called before commit")

Callers 1

applyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected