unilab.training.cuda_process_sharing.CudaProcessSharingEvidence¶
- class unilab.training.cuda_process_sharing.CudaProcessSharingEvidence[source]¶
Bases:
objectStructured per-rank evidence for a requested mode plus ambient state.
pipe_directory_envis the rawCUDA_MPS_PIPE_DIRECTORYvalue (Nonewhen unset);pipe_directory/control_pipe/control_pipe_kind/server_piddescribe the effective pipe this rank’s CUDA contexts would use.ambient_serveris true only for an unconfigured run whose effective control pipe answered a daemon query — the transparent-MPS case.Methods
__init__(configured, effective, validated[, ...])to_dict()Return the JSON-shaped diagnostics stored in a runtime manifest.
Attributes
- __init__(configured, effective, validated, rank=0, world_size=1, learner_device=None, collector_device=None, learner_gpu_uuid=None, collector_gpu_uuid=None, pipe_directory_env=None, pipe_directory=None, control_pipe=None, control_pipe_kind=None, server_pid=None, ambient_server=False)¶