Repository navigation
feat(glm_moe_dsa): add GLM5.2 context parallel support - #2695
Merged
Merged
Conversation
Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
Add CPU-safe unit coverage for GLM DSA TileLang dispatch wrappers, validation packing, THD pipeline metas, and layer-level TileLang branches. Exclude copied vendored TileLang kernel definitions from coverage the same way existing vendored kernels are handled. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
Add NVIDIA copyright headers to the vendored GLM TileLang kernel files for consistency with the existing vendored DeepSeek kernels. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
The PP causal-mask cache is an optional mapping on model instances. Plain unittest mocks fabricate missing attributes, so treat non-mapping cache values as absent before checking membership. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
Use the TileLang validation result as an explicit guard in the sparse MLA path instead of discarding it. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
hemildesai
previously approved these changes
Jun 22, 2026
…ernels Signed-off-by: HuiyingLi <willwin.lee@gmail.com> # Conflicts: # nemo_automodel/components/distributed/pipelining/hf_utils.py
Add CPU unit coverage for GLM DSA context-parallel helpers, TileLang padded/query-index masking, CP gather wiring, capability gates, and the prepacked dataloader path. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
Contributor
Author
|
/claude review |
Contributor
Author
|
/ok to test 874c47d |
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
Contributor
Author
|
/claude review |
Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
…o huiyingl/feat/glm52-cp Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
Contributor
Author
|
/ok to test 6f70549 |
Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
…o huiyingl/feat/glm52-cp Signed-off-by: HuiyingLi <willwin.lee@gmail.com> # Conflicts: # tests/unit_tests/models/glm_moe_dsa/test_glm_moe_dsa_tilelang.py
Contributor
Author
|
/ok to test 1740305 |
Signed-off-by: HuiyingLi <willwin.lee@gmail.com> # Conflicts: # nemo_automodel/components/models/glm_moe_dsa/layers.py # nemo_automodel/components/models/glm_moe_dsa/model.py # nemo_automodel/components/models/glm_moe_dsa/optimized_kernels.py # tests/unit_tests/models/glm_moe_dsa/test_glm_moe_dsa_tilelang.py
Contributor
Author
|
/ok to test 4609c7e |
hemildesai
approved these changes
Jun 23, 2026
This branch was previously deployed
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.
What does this PR do ?
Adds GLM MoE DSA context-parallel support for TileLang attention, keeping the implementation local to
glm_moe_dsa.Changelog
Validation
CP1/CP2 parity