|
| 1 | + |
| 2 | + Usage: genelab play [OPTIONS] [TASK] |
| 3 | + |
| 4 | + Run a registered task. |
| 5 | + |
| 6 | + Shorthand flags rewritten into env overrides: |
| 7 | + |
| 8 | + |
| 9 | + -v, --vis Enable the Genesis viewer (env.simulation.vis=true). |
| 10 | + --gpu Use the GPU backend (env.simulation.gpu=true). |
| 11 | + --steps N Run for N steps. Play: env.simulation.steps=N. |
| 12 | + Train: alias for --max_iterations N. |
| 13 | + --dt SECONDS Override the sim timestep (env.simulation.dt=SECONDS). |
| 14 | + --a.b.c VALUE Set any dotted cfg path. |
| 15 | + |
| 16 | + Runner flags (used when an RL runner is engaged): |
| 17 | + |
| 18 | + |
| 19 | + --num_envs N Total parallel environments across all ranks. |
| 20 | + Must divide evenly by --gpus when both are set. |
| 21 | + --num_envs_per_gpu N Per-rank parallel environments. Mutually exclusive |
| 22 | + with --num_envs. |
| 23 | + --agent KIND one of: zero, random, trained (play only). |
| 24 | + --checkpoint PATH Resume from a checkpoint. |
| 25 | + --seed N RNG seed. |
| 26 | + --log_dir PATH Override the log directory. |
| 27 | + --max_iterations N Cap training iterations (train only). |
| 28 | + --gpus N Distributed training across N GPUs (train only). |
| 29 | + --eval_every K Run a deterministic eval every K iters and save |
| 30 | + best_model.<ext> on improvement (train only). |
| 31 | + --eval_episodes N Episodes to roll out per eval (train only, default 10). |
| 32 | + --eval_num_envs N Envs used during eval (train only, default = train num). |
| 33 | + --eval_seed N Seed for the eval rollout (train only, default 0). |
| 34 | + --seeds 1,2,3 Fan out into N independent train runs, one per seed |
| 35 | + (train only). Each child gets --log_dir <parent>/seed_<S>. |
| 36 | + --parallel N Cap concurrent multi-seed train workers (train only, |
| 37 | + default 1). Ignored unless --seeds is set. |
| 38 | + |
| 39 | + Profiling flags (forwarded to torch.profiler; rank-0 only): |
| 40 | + |
| 41 | + |
| 42 | + --prof Enable the profiler (overrides GENELAB_PROFILE). |
| 43 | + --prof-out PATH TensorBoard trace directory (GENELAB_PROFILE_OUT). |
| 44 | + --prof-wait N Schedule wait steps (GENELAB_PROFILE_WAIT, default 10). |
| 45 | + --prof-warmup N Schedule warmup steps (GENELAB_PROFILE_WARMUP, default 5). |
| 46 | + --prof-active N Schedule active steps (GENELAB_PROFILE_ACTIVE, default 10). |
| 47 | + --prof-repeat N Schedule cycles (GENELAB_PROFILE_REPEAT, default 2). |
| 48 | + --prof-record-shapes Record tensor shapes for op input attribution. |
| 49 | + --prof-with-stack Capture Python stack traces (high overhead). |
| 50 | + |
| 51 | + Use `genelab info TASK` to see the full overridable path list for a task. |
| 52 | + Use `genelab prof open [DIR]` to launch TensorBoard against a trace directory. |
| 53 | + |
| 54 | +╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────╮ |
| 55 | +│ task_id [TASK] Registered task id (omit for an interactive picker). │ |
| 56 | +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ |
| 57 | +╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮ |
| 58 | +│ --help Show this message and exit. │ |
| 59 | +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ |
| 60 | + |
0 commit comments