[DYNAMO] add SLURM smoke config for Dynamo#2504
Draft
AmeenP wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a single-node SLURM smoke example for running prime-rl against NVIDIA Dynamo as the inference backend.
This is stacked on #2394 so it lives next to the existing Dynamo K8s/local smoke examples.
Files added:
tools/dynamo/slurm_smoke/smoke_rl.toml: RL config for a 2-GPU smoke run with no prime-rl-managed inference process.tools/dynamo/slurm_smoke/dynamo_single_node_rl.sbatch.j2: custom sbatch template that starts Dynamo on GPU 0 with--discovery-backend file, waits for/healthand/v1/models, then runs prime-rl on GPU 1.tools/dynamo/slurm_smoke/README.md: dry-run, submit, environment override, and log instructions.The Dynamo side uses file discovery and disables KV event publishing, so the sample does not require etcd or NATS for the single-node smoke path.
Validation
Local:
tools/dynamo/slurm_smoke/smoke_rl.tomlthroughRLConfigusing the config package and temporary validation dependencies.dynamo_single_node_rl.sbatch.j2with Jinja2 and checked the rendered script withbash -n.git diff --cached --checkGitHub Actions:
Note: full
uv run rl ... --dry-runcannot run in this macOS workspace because prime-rl's lockfile supports Linux platforms only, and the local environment does not have the project console scripts synced.