Docker Push / Push CUDA image to Docker (push) Canceled after 0s
* fix(rl-config): accept matching shared/sub duplicates so materialized config round-trips The single-node SLURM launcher (``rl_slurm`` for ``deployment.type == "single_node"``) dumps the fully-resolved ``RLConfig`` to ``<output_dir>/configs/rl.toml`` and the sbatch script re-runs ``uv run rl @ rl.toml``. ``propagate_shared_fields`` writes both shared keys (``output_dir``, ``wandb.project``, ...) *and* the matching sub-config keys (``trainer.output_dir``, ``orchestrator.wandb.project``, ...) during the first-load propagation; ``model_dump`` preserves both. On re-load the ``if sub_set: conflict`` check fired even though both keys had the same value — treating a no-op round-trip as ambiguity. Tighten the check to ``if sub_set and sub != shared_value``: genuine conflicts still raise (a CLI-shared override silently no-opping against an inconsistent sub-config value still surfaces), but matching values are accepted so the materialized config re-loads cleanly. ``output_dir`` and ``wandb.name`` compare against their *transformed* sub-config values (``output_dir → /run_default`` and ``-trainer``/``-orchestrator`` suffixes in non-shared mode). Verified end-to-end on the hendrycks-sanity example for all three RL deployments: local dry-run, single-node SLURM (submitted job 21902 from the materialized rl.toml — config re-loaded, all three subprocesses spawned, wandb shared run id preserved across trainer + orchestrator), multi-node SLURM dry-run (write_subconfigs path). Co-authored-by: Cursor <cursoragent@cursor.com> * chore(rl): deprecate wandb.shared, hardcode shared W&B mode Shared W&B mode (single run for trainer + orchestrator) has been the default on the rl entrypoint since #1330 and is the only mode anyone uses. The non-shared mode — two separate runs suffixed ``-trainer`` / ``-orchestrator``, gated on ``wandb.shared = false`` — was kept around as the legacy fallback and as the reason the validator's ``wandb.name`` propagation needed custom asymmetric ``expected``/conflict logic. Drop the non-shared path: * ``SharedWandbConfig.shared`` is removed from the schema. A ``mode="before"`` validator pops the field from input dicts with a ``FutureWarning`` so existing configs that still set ``shared = true`` (or ``false``) keep loading. * ``validate_shared_not_offline`` becomes ``validate_not_offline``: ``wandb.offline = true`` at the shared level is rejected because shared mode is always on and needs server connectivity. The escape hatch is to set ``offline`` per sub-config (``[trainer.wandb] offline = true``, ``[orchestrator.wandb] offline = true``). * ``propagate_shared_fields`` collapses the ``wandb.name`` block into a plain ``propagate("wandb.name", "trainer.wandb.name", "orchestrator.wandb.name")``. The ``expected``/conflict-against- transformed-value machinery is gone; only ``output_dir`` still needs the custom block because of its asymmetric ``/run_default`` suffix. * ``rl_local`` always sets ``WANDB_SHARED_MODE`` / ``WANDB_SHARED_RUN_ID`` for subprocesses (no ``if config.wandb and config.wandb.shared`` gate). * The multi-node SLURM template (``multi_node_rl.sbatch.j2``) drops the ``{% if wandb_shared %}`` gates and always exports the shared env vars + ``WANDB_SHARED_LABEL``. The ``wandb_shared`` template variable is removed from both call sites in ``rl_slurm``. * Configs that still set ``shared = true`` (``configs/nemotron_debug``, ``configs/nemotron_4node``) are cleaned up. * Docs + the runtime info log are updated. Verified end-to-end on hendrycks-sanity (job 21919, single-node SLURM): the materialized rl.toml round-trips through the validator, both trainer and orchestrator log ``Using shared W&B mode (label=…, primary=…)``, and the W&B run name is the verbatim shared name (no ``-trainer``/``-orchestrator`` suffix). 234 config-related unit tests pass. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>