DistributedContractionOptions#

class cuquantum.tensornet.experimental.distributed.DistributedContractionOptions(
compute_type: int | None = None,
device_id: int | None = None,
handle: int | None = None,
logger: Logger | None = None,
memory_limit: int | str | None = '80%',
blocking: Literal[True, 'auto'] = True,
allocator: BaseCUDAMemoryManager | None = None,
collective_error_agreement: bool = False,
)[source]#

NetworkOptions, plus options specific to DistributedBinaryContraction.

collective_error_agreement#

If True, DistributedBinaryContraction.plan() agrees rank-local pre-check failures across ranks before collective planning begins. Requires initialized nvmath.distributed. When False (the default), rank-local failures raise immediately.

Type:

bool