espnet3.bin.atlas.worker.main
Less than 1 minute
espnet3.bin.atlas.worker.main
espnet3.bin.atlas.worker.main() → int
Run one graph node (or its GPU self-controller) as a submitted job.
This is the command Slurm/local job submission runs: it parses the --study-dir/--node/--run-id (and related) arguments, rebuilds the study runtime, and executes either the node’s GPU self-controller loop (when the node is execution: submission) or the node itself.
- Parameters:None (arguments are read from
sys.argvviaargparse) - Returns:
0on success,1if the node result status is"failure"or"timeout". - Return type: int
Example
>>> # python -m espnet3.bin.atlas.worker --study-dir exp/atlas/s \
... # --recipe-dir . --node run_trial --run-id run_1