Repository navigation
[kimi2.7] pass correct fsdp mesh for backend=spmd_types - #4070
Merged
Merged
Conversation
Use the shared dense and sparse storage-mesh resolvers for the spmd_types backend and pass their explicit data-parallel axes to FSDP2. Ensure DP-only spmd_types runs config-based model parallelization and declares the vision output layouts required by that path. Preserve the default backend mesh selection. Test Plan: - pre-commit run --all-files - Run the 2-GPU Kimi multimodal spmd_types integration test for 10 training steps.
weifengpy
requested review from
fegin,
tianyu-l,
wconstab and
wwwjn
as code owners
August 5, 2026 20:37
pianpwk
approved these changes
Aug 5, 2026
shuhuayu
approved these changes
Aug 5, 2026
Contributor
Author
|
need approval from one code owner, maybe @tianyu-l ? |
tianyu-l
approved these changes
Aug 5, 2026
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.
clone of a previous approval #4063
before: spmd_types exposes the dense DP axis as dp_shard, but Kimi 2.7 requested the legacy fsdp axis, causing Invalid mesh dim: 'fsdp' during initialization
after: explicitly tells FSDP that dp_shard or efsdp is the data-parallel shard axis