TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-08

SimpleElasticAgent

class tensorplay.distributed.elastic.agent.server.SimpleElasticAgent(spec: WorkerSpec | None = None, exit_barrier_timeout: float = 300, shutdown_timeout: int = 30)[source]

Reusable agent run loop over one worker group.

run(role: str = 'default') → RunResult[source]

Run the agent to a terminal state, shutting down on any exit path.

On this page

Ask DeepWiki