Repository navigation
[None][fix] Keep Slurm runners local to each parallel branch - #22101
Conversation
Signed-off-by: ZhanruiSunCh <[email protected]>
|
No actionable comments were generated in the recent review. WalkthroughThe ChangesLocal Initialization
Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Bug fix Merge Risk:
|
|
Automatically added "ci: full pre-merge approved" because this PR has satisfied the required GitHub review approvals. Unresolved review conversations and other required checks remain independent merge requirements. |
|
Add Carrot credits or activate Agent usage billing to use Autofix |
|
/bot skip --comment "Quick fix" |
|
PR_Github #84092 [ skip ] triggered by Bot. Commit: |
|
PR_Github #84092 [ skip ] completed with state |
Picks up NVIDIA#22101, the CI fix that pre-merge pipelines load from the branch. Signed-off-by: chenfeiz0326 <[email protected]>
…amps Rebase the existing PR changes onto upstream main c868288, including the CI hang fix from NVIDIA#22101. Retain the upstream prefix-tokenization cache integration and the existing sampling provenance, source timestamps, explicit rescale controls and regression coverage. Signed-off-by: Alpinist <[email protected]>
… branch. Signed-off-by: Yiming Zhao <[email protected]>
Description
slurmRunnerwas assigned withoutdefinrunLLMTestlistWithAgent, making it a shared script Binding property across parallel stages. ThewithEnvbody added in #19174 delays reading that property, allowing another branch to overwrite it before it is passed toexecuteLLMTestOnSlurm. A branch can then use another stage's node/runner and wait for its executor outside the runner's timeout.Declare the variable locally so each stage invocation keeps its own runner. This is a one-line fix; existing runtime-image propagation, timeout values and retry behavior are retained.
Observed executor waiting in Single-GPU build #10120; the cross-branch overwrite mechanism was independently reproduced in the sandbox below.
Test Coverage
Controller-only Jenkins sandbox reproduction compared eight parallel branches:
withEnv: 0/8 incorrect runner selections.withEnv: 7/8 branches selected another branch's runner.withEnv: 0/8 incorrect runner selections.The reproduction uses
withEnvdirectly without adding sleeps to force interleaving. It allocates no GPU or Slurm resources. Pre-commit and DCO checks passed. Full production Slurm CI has not yet been rerun with this fix.PR Checklist
Dev Engineer Review
slurmRunneris now a local variable initialized insiderunLLMTestlistWithAgent. This prevents parallel branches from overwriting each other’s runner beforeexecuteLLMTestOnSlurmuses it. No other behavior changes are shown.QA Engineer Review
No test changes.
Per-File QA Perspective
jenkins/L0_Test.groovy: Verify that parallel Slurm branches use their own runner. Confirm timeout, retry, and container-runtime behavior remains unchanged.