Repository navigation
Conversation
This was referenced Jul 21, 2026
FDecaYed
added a commit
to FDecaYed/Megatron-LM
that referenced
this pull request
Jul 21, 2026
Add configurable boundary-fill semantics and roll packed THD MTP inputs across contiguous context-parallel shards without crossing sequence boundaries. Reconstructed from the MTP portion of NVIDIA#5795 on top of the padded-cu-seqlens fix in NVIDIA#4495. Signed-off-by: Deyu Fu <Deyu.Foo@gmail.com>
FDecaYed
added a commit
to FDecaYed/Megatron-LM
that referenced
this pull request
Jul 21, 2026
Add the unfused compressed sparse attention algorithm, inert configuration fields, and focused algorithm coverage without enabling a model variant. Reconstructed from NVIDIA#4458 and its corrections as part of the frozen feature set in NVIDIA#5795. Signed-off-by: Deyu Fu <Deyu.Foo@gmail.com>
FDecaYed
added a commit
to FDecaYed/Megatron-LM
that referenced
this pull request
Jul 21, 2026
Enable SBHD-only DSv4 Hybrid attention orchestration, model-variant validation, backend-explicit specs, and MTP layer-ratio plumbing. Reconstructed from NVIDIA#4458, NVIDIA#4518, NVIDIA#5018, and NVIDIA#5526 as part of the frozen feature set in NVIDIA#5795. Signed-off-by: Deyu Fu <Deyu.Foo@gmail.com>
FDecaYed
added a commit
to FDecaYed/Megatron-LM
that referenced
this pull request
Jul 21, 2026
Map the canonical padded vocabulary size into TransformerConfig for hash routing and hide the redundant generated CLI field. Reconstructed from NVIDIA#4481 and the frozen feature set in NVIDIA#5795. Signed-off-by: Deyu Fu <Deyu.Foo@gmail.com>
Replace the historical aggregate with the frozen HybridModel-only feature oracle used to define the reviewable prerequisite and DSv4 slices. Exclude GPTModel support, dynamic context parallelism, SFT-specific packing, optimizer-state offload, and full-iteration CUDA graphs. Align the HybridEP padding flag with the current NVIDIA#5008 contract. Signed-off-by: Deyu Fu <deyuf@nvidia.com>
FDecaYed
force-pushed
the
codex/dsv4-main-port
branch
from
July 23, 2026 15:53
9596ade to
234919d
Compare
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
This was referenced Jul 23, 2026
This was referenced Jul 29, 2026
This was referenced Aug 10, 2026
This was referenced Aug 17, 2026
3 of 6 tasks
Draft
7 tasks done
14 of 21 tasks
This was referenced Oct 8, 2026
This was referenced Oct 20, 2026
This branch has not been 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.
DeepSeek-V4 main tracker
Updated: 2026-10-20. Tracks mainline support for the DSv4 HybridModel performance recipe.
Progress: Core foundations and all three tracked functional ports—Hash MoE, packed THD/CP, and mHC PP/VPP—are merged into main. Remaining work is performance parity.
BatchedLinear blocker: Dev #5722 and main #7971 both depend on TE #3160 for the optimized path. In #7971, the pinned TE does not provide BatchedLinear: the draft uses the einsum fallback and skips real BatchedLinear tests. Resolve the TE dependency, update the pin, recheck the final API, and pass BF16/MXFP8 GPU validation before marking the optimization ready. #7971 remains a draft.
Finished — merged into main
Completed features and supporting infrastructure
Existing main PRs — performance work
MoK dependency installation #7696 is merged. #8210 is the tracked backend port onto current main.
Remaining performance ports — dev merged
The CC 10.7 mapping in dev #7779 is merged. Carry it with the CuTe layout-kernel port; current main does not contain the module it patches.
—= no active main PR identified that covers the remaining optimization. These are feature gaps, not a required one-PR-per-row split. Existing PRs and partial coverage are listed above; detailed code comparisons and validation evidence are kept locally.