latest (dev)
Copy
Latest development documentation · Updated 2026-10-08
LocalElasticAgent
- class tensorplay.distributed.elastic.agent.server.LocalElasticAgent(spec, logs_specs=None, start_method: str = 'spawn', exit_barrier_timeout: float = 300, log_line_prefix_template: str | None = None, shutdown_timeout: int = 30, health_check_server=None, uninterruptible_state_timeout: float | None = None, log_dir: str | None = None)[source]
Agent managing workers on the local node.
Workers are launched through
start_processes(subprocesses for command entrypoints, multiprocessing for callables) with per-rank environments carrying the elastic contract; failures and restarts are handled by the base-class run loop.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

