Repository navigation
[ci] pin rl+hf tests to partial_dtensor - #4228
Merged
Merged
Conversation
[ghstack-poisoned]
pianpwk
marked this pull request as ready for review
August 19, 2026 17:04
pianpwk
requested review from
IvanKobzarev,
SherlockNoMad,
aditvenk,
sanketpurandare,
tianyu-l and
xmfan
as code owners
August 19, 2026 17:04
tianyu-l
approved these changes
Aug 19, 2026
[ghstack-poisoned]
saforem2
added a commit
to saforem2/torchtitan
that referenced
this pull request
Aug 20, 2026
…ng removed upstream Both config registries pinned spmd_backend="full_dtensor" since the 79th sync. Two independent reasons that is wrong now: 1. Upstream is DELETING the backend. 601cf4d ("Remove the full_dtensor SPMD backend", pytorch#4217, 2026-08-19) drops full_dtensor.py entirely -- 167 lines already gone in upstream/main. The next sync removes the file our parallelize.py imports resolve_fsdp_mesh from. Pinning to it is a dead end with a known expiry. 2. The evidence for the original pin did not cover compiled runs. Its comment cites job 12473350 as "full_dtensor runs 4/4 steps", but that probe ran --compile.no-enable. Compiled agpt on full_dtensor hits the vc_check DeviceMesh assertion, which is how the user's agpt_20b run failed. partial_dtensor is the supported fallback, is what upstream pins for its own rl+hf CI suites (b64d3f6, pytorch#4228), and is the same code path that produced every production trajectory before pytorch#4085 renamed "default" -> "partial_dtensor". spmd_types stays unusable for now and the comment records why, with a pointer to the writeup: it is an UPSTREAM gap, not ours -- core llama3 through core's own trainer fails identically (12473444) while partial_dtensor passes in the same job. resolve_fsdp_mesh already guards this shape, but only when the whole storage mesh is size 1. Verification of partial for the MoE configs is in flight; moe_10b_2b and moe_small have both already passed 5/5 on it. One arm in that job (moe_small on full_dtensor) reported a bogus ImportError -- I installed spmd_types 0.2.3 into the venv six seconds before it ran, so it read a half-swapped package. That arm is void, not a result, and it is the reason not to pip-install while jobs are live.
acisseJZhong
pushed a commit
that referenced
this pull request
Aug 21, 2026
fixing CI, the specific RL test still needs HF weight loading fix Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.13.0) (oldest at bottom): * __->__ #4228 (cherry picked from commit b64d3f6)
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.
fixing CI, the specific RL test still needs HF weight loading fix
Stack from ghstack (oldest at bottom):