TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-08

LaunchConfig

class tensorplay.distributed.launcher.LaunchConfig(min_nodes: int = 1, max_nodes: int = 1, nproc_per_node: int = 1, run_id: str = '', role: str = 'default_role', rdzv_endpoint: str = '', rdzv_backend: str = 'static', rdzv_configs: dict[str, ~typing.Any]=<factory>, rdzv_timeout: int = -1, max_restarts: int = 0, monitor_interval: float = 0.1, start_method: str = 'spawn', log_dir: str | None = None, redirects: Any = None, tee: Any = None, metrics_cfg: dict[str, str]=<factory>, local_addr: str | None = None, node_rank: int = 0, master_addr: str | None = None, master_port: int | None = None)[source]

Elastic launch settings for one job.

min_nodes/max_nodes bound the job size; when they differ the job is elastic and nodes may join or leave within those bounds. rdzv_* fields select and configure the rendezvous backend.

On this page

Ask DeepWiki