nvalchemi.distributed.CollectivePhase#

class nvalchemi.distributed.CollectivePhase[source]#

Mutable local phase and metadata state yielded by collective_error_sync.

Instances are created by the context-manager helper. Their records are available only after every local member has completed the shared exchange.

property metadata: _T | None#

Local control metadata to serialize once when the body exits.

property phase: str#

Current local phase label used when reporting an ordinary failure.

property records: tuple[_T | None, ...]#

Metadata snapshots ordered by group-local rank after successful exit.