gigl.distributed.constants#
Attributes#
Functions#
Whether samplers use the native neighbor lookup for local and remote nodes, from |
|
Whether range-partitioned builds store only each rank's rows, from |
|
Tolerance for GLT's cross-rank sampling-worker RPC gather, in seconds. |
|
Bound on how long a rank waits for its own sampling workers to reach the init barrier. |
Module Contents#
- gigl.distributed.constants.resolve_native_neighbor_lookup()[source]#
Whether samplers use the native neighbor lookup for local and remote nodes, from
GIGL_NATIVE_NEIGHBOR_LOOKUP.See the comment above
NATIVE_NEIGHBOR_LOOKUP_ENVfor what each value does.- Raises:
ValueError – If the value is not
onoroff.- Return type:
bool
- gigl.distributed.constants.resolve_rank_local_csr_rows()[source]#
Whether range-partitioned builds store only each rank’s rows, from
GIGL_RANK_LOCAL_CSR_ROWS.See the comment above
RANK_LOCAL_CSR_ROWS_ENVfor what each value does.- Raises:
ValueError – If the value is not
onoroff.- Return type:
bool
- gigl.distributed.constants.sampling_rpc_init_timeout_seconds()[source]#
Tolerance for GLT’s cross-rank sampling-worker RPC gather, in seconds.
Raise this when ranks can legitimately reach loader construction more than the default apart – e.g. a run whose CSR assembly has a slow single-rank fallback path.
- Return type:
int
- gigl.distributed.constants.sampling_worker_init_timeout_seconds()[source]#
Bound on how long a rank waits for its own sampling workers to reach the init barrier.
Derived from the gather tolerance rather than configured separately, so raising
GIGL_SAMPLING_RPC_INIT_TIMEOUT_SECONDSmoves both bounds coherently.- Return type:
int
- gigl.distributed.constants.NATIVE_NEIGHBOR_LOOKUP_ENV: Final[str] = 'GIGL_NATIVE_NEIGHBOR_LOOKUP'[source]#
- gigl.distributed.constants.RANK_LOCAL_CSR_ROWS_ENV: Final[str] = 'GIGL_RANK_LOCAL_CSR_ROWS'[source]#
- gigl.distributed.constants.SAMPLING_RPC_CHANNELS_ENV: Final[str] = 'GIGL_SAMPLING_RPC_CHANNELS'[source]#