Repository navigation
Repo tests (CPU): split the non-native tensor parallel files out of the gloo shard (2100 s cap) - #17969
Merged
Conversation
…eir own shard (gloo hit the 2100 s cap)
Member
Author
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
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
Repo tests (CPU, gloo)is timing out again: the shard's pytest runs undertimeout --signal=INT 2100and recent runs were cut off there with nothing failing:For comparison the same shard ran 241 tests in 1292 s when #17892 merged this morning. Since then #17886 (
test_tp_dpo_peft_ref_adapter_gloo.py), #17930 (test_cp_ulysses_media_towers_gloo.py),test_cp_ulysses_dynamic_len_gloo.pyand the DeepSeek-V4.1 additions totest_parallel_deepseek_v41_gloo.pylanded in it, and a slower runner now goes over the cap. Every one of those tests passes; the shard just no longer fits.Change
.github/workflows/studio-backend-ci.yml:tests/test_tp_[!n]*gloo*.py(the non-native tensor parallel files:tp_env,tp_eval,tp_full_finetune,tp_replica,tp_kv_replicated,tp_moe_dropout,tp_dpo_peft_ref_adapter, ...; 12 files) moves out ofgloointo a newgloo-tp-envshard.glookeeps its other three globs (19 files). Comment added with the numbers above.tests/studio/test_backend_ci_parallel_isolation.py: the command scan's expected counts go from 15 parallel runs / 10 repo-root shards to 16 / 11, as its message asks when a shard is added.Why that split
Measured locally on main with the shard's exact command (
-n 4 --dist loadgroup): 275 passed in 1302.83 s. Of the 40 slowest tests (2815 worker-seconds), 2716 s are intests/test_tp_[!n]*gloo*.py; out of about 5200 worker-seconds in total, so these 12 files are well over half of the shard. Each half now has room under the cap on a slower runner.Testing
tests/test_ci_repo_cpu_shards.py(every repo test file collected by exactly one shard, every glob matches a file): 15 passed.studio-backend-ci.yml: 341 passed, 3 skipped.