feat(megatron-bridge): add NeMo 26.08 Kimi K2 EP backend qualification - #1243
Draft
KeitaW wants to merge 70 commits into
Draft
feat(megatron-bridge): add NeMo 26.08 Kimi K2 EP backend qualification#1243KeitaW wants to merge 70 commits into
KeitaW wants to merge 70 commits into
Conversation
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.
Purpose
Update the Megatron Bridge Kimi K2 test case to NeMo release 26.08 and add a reproducible four-arm expert-parallel qualification for NCCL all-to-all, UCCL, DeepEP v1 over NVSHMEM/EFA, and DeepEP v2 over NCCL GIN/GDA.
Relates to #1116 and #1189.
Changes
deepep_v2backend usingElasticBuffer, including autograd support, eager communicator initialization, pipeline overlap lifetime handling, and the validated DeepEP v2 patches.Test Plan
Environment:
ap-south-1p6-b200.48xlargeLocal test commands:
Real-GPU qualification:
ElasticBuffercontract on 16 ranks.Test Results
All 12 primary scored jobs passed without retries. Each value is the median across 3 fresh job-start medians. Each job discarded its first 8 optimizer iterations and scored the remaining 32 optimizer iterations.
nccl-alltoalluccldeepep-v1-nvshmemdeepep-v2-gin-gdaThe interval uses 10,000 paired repeat-level bootstrap resamples with a 1,234 dimensionless seed and a 95% percentile interval. DeepEP v2 reduced mean iteration time by 5.75% relative to UCCL, with a 95% CI from 5.48% to 6.05%, in this B200, microbatch 4 samples, overlap-off cell.
All 12 jobs recorded 40 of 40 loss rows, a constant learning rate, finite loss and gradient norm, 0 skipped iterations, 0 NaN iterations, and 0 dropped token selections. Every non-NCCL arm matched the same-repeat NCCL route hash on all 32 ranks. Maximum absolute loss deltas were 0.000223 dimensionless for UCCL, 0.000125 dimensionless for DeepEP v1, and 0.000154 dimensionless for DeepEP v2, all below the fixed NCCL BF16 self-repeat envelope of 0.001114845276 dimensionless.
The short training gate also passed full-precision gradient-norm and sampled update-L2 checks for all 4 arms. DeepEP v2 runtime manifests prove
_DeepepV2Manager,ElasticBuffer, a 32-rank EP group,NCCL_GIN_TYPE=5, theLibfabric_GDAKIGIN plugin version 14, GPU Direct RDMA, and all 8 EFA HCAs per node.Absolute curves are faceted into one column per EP arm because the trajectories are nearly coincident at this scale. Each metric uses a shared y-axis across arm columns; repeat markers are staggered, but metric values and optimizer iterations are not offset.
The requested 256-GPU B300 headline remains
NOT_RUN_INSUFFICIENT_CAPACITY: 0 B300 nodes were available and 32 B300 nodes were required. No B200 measurement is used as a B300 result.The accepted scored artifact root contains 8,213 checksum-verified files. Post-run verification found the owned namespace absent, 0 owned pods, 0 requested GPUs, and an empty campaign lease holder. Capacity Block, EC2 instances, EKS nodes, and foreign workload objects were preserved.
Full methodology, per-repeat data, output curves, runtime proof, provenance hashes, exclusions, and teardown evidence are in RESULTS-26.08.md.
Directory Structure
Checklist
mainbranch.latesttag.