Files
prime-rl/examples/alphabet_sort/slurm_rl.toml
T
09a6875f11
Release / Push CUDA image to Docker (push) Canceled after 0s
migrate config system to pydantic_config (#1915)
* migrate config system from pydantic-settings to pydantic_config

Replace the custom pydantic-settings wrapper (BaseSettings, parse_argv,
toml_files inheritance) with the external pydantic_config library which
provides tyro-backed CLI parsing, @ syntax for TOML files, and deep merge
of configs + CLI overrides.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* update pydantic-config to fix-tyro branch and fix benchmark CLI args for tyro

- Switch dependency from refactor-tyro to fix-tyro branch (includes
  validators moved upstream)
- Simplify config.py by removing validators now in pydantic_config
- Fix benchmark script to use tyro subcommand syntax for optional
  nested configs (compile, ac, ac-offloading)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* update pydantic-config to include bare flag support for Optional configs

The benchmark script's --model.compile and --model.ac bare flags now
work without changes, thanks to upstream pydantic_config handling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* update pydantic-config to main (includes AvoidSubcommands fix)

Fixes dict[str, Any] tyro parser errors and union subcommand issues.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* update pydantic-config to include sub-field override fix

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 08:37:24 -08:00

5 lines
163 B
TOML

# Usage: uv run rl @ examples/alphabet_sort/rl.toml @ examples/alphabet_sort/slurm_rl.toml
output_dir = "outputs/alphabet-sort"
[slurm]
job_name = "alphabet-sort"