Repository navigation
Commit 1f46800
committed
Merge origin/main into cgomes/pao_with_bf16_params
Resolve the conflict in DistributedOptimizer.__init__ by keeping both the fp8_param_gather resolution assert and main's full-iteration CUDA graph grad copy setup.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: CarlosGomes98 <cgomes@nvidia.com>1,140 files changed
Lines changed: 71920 additions & 182517 deletions
File tree
- .github
- workflows
- .gitlab/stages
- docker
- common
- patches
- docs
- api-guide/core
- developer
- determinism
- user-guide
- features
- observability
- examples
- academic_paper_scripts/detxoify_lm
- bert
- inference
- advanced
- mimo
- model_providers
- training
- utils
- multimodal
- model_converter
- post_training/modelopt
- rl
- model_configs
- t5
- megatron
- core
- allocator
- csrc
- context_parallel
- datasets
- dist_checkpointing
- strategies
- distributed
- fsdp
- src/megatron_fsdp/experimental
- extensions
- fusions
- inference
- apis
- communication/torch_symm_triton
- contexts
- attention_context
- data_parallel_inference_coordinator
- disaggregation
- transfer_backends
- engines
- model_inference_wrappers
- moe
- sampling
- text_generation_controllers
- text_generation_server/dynamic_text_gen_server
- endpoints
- models
- common
- language_module
- gpt
- hybrid
- mimo
- model
- partition
- ops
- optimizer
- cpu_offloading
- pipeline_parallel
- resharding
- copy_services
- ssm
- gated_delta_net
- ops
- common
- gdp
- mamba2
- tensor_parallel
- transformer
- custom_layers
- experimental_attention_variant
- csa_utils
- ops
- moe
- ops
- tuning
- tables
- elastification
- router
- inference
- integrations
- dynamo
- post_training
- rl
- inference
- training
- ckpt
- config
- datasets
- distillation
- models
- utils
- skills
- mcore-build-and-dependency
- mcore-bump-base-image
- mcore-cicd
- mcore-create-issue
- mcore-linting-and-formatting
- mcore-migrate-gpt-to-hybrid
- mcore-onboard-gb200-1node-tests
- mcore-run-on-slurm
- mcore-split-pr
- mcore-testing
- nightly-sync
- pr-review
- respond-to-issue
- tasks
- tests
- functional_tests
- shell_test_utils
- test_cases
- bert
- bert_mcore_tp1_pp2
- bert_mcore_tp1_pp4_vp2
- bert_mcore_tp2_pp2_frozen_resume_torch_dist
- bert_mcore_tp2_pp2_local_spec
- bert_mcore_tp2_pp2_resume_torch_dist_local_spec
- bert_mcore_tp2_pp2_resume_torch_dist
- bert_mcore_tp2_pp2
- bert_mcore_tp4_pp1
- bert_release
- gpt
- gpt3_15b_8t_release_sm_gb200
- gpt3_15b_8t_release_sm
- gpt3_15b_8t_release
- gpt3_7b_tp1_pp4_memory_speed
- gpt3_7b_tp4_pp1_memory_speed
- gpt3_mcore_te_tp1_pp1_dist_optimizer_no_mmap_bin_files
- gpt3_mcore_te_tp1_pp1_frozen_resume_torch_dist_dist_optimizer
- gpt3_mcore_te_tp1_pp1_resume_torch_dist_dist_optimizer_no_mmap_bin_files
- gpt3_mcore_te_tp1_pp1_resume_torch_dist_dist_optimizer
- gpt3_mcore_te_tp1_pp1_resume_torch_dist_uniform_full_recompute
- gpt3_mcore_te_tp1_pp1_uniform_full_recompute
- gpt3_mcore_te_tp1_pp2_cp4_a2a_p2p_nondeterministic
- gpt3_mcore_te_tp1_pp2_resume_torch_dist_cp4_a2a_p2p_nondeterministic
- gpt3_mcore_te_tp1_pp2_resume_torch_dist_rope_embeddings_interleaved_no_fusion
- gpt3_mcore_te_tp1_pp2_resume_torch_dist_rope_embeddings
- gpt3_mcore_te_tp1_pp2_rope_embeddings_interleaved_no_fusion
- gpt3_mcore_te_tp1_pp2_rope_embeddings
- gpt3_mcore_te_tp1_pp4_disable_bias_linear
- gpt3_mcore_te_tp1_pp4_frozen_resume_torch_dist_swiglu
- gpt3_mcore_te_tp1_pp4_persistent_ckpt_disable_bias_linear
- gpt3_mcore_te_tp1_pp4_resume_torch_dist_disable_bias_linear
- gpt3_mcore_te_tp1_pp4_resume_torch_dist_persistent_disable_bias_linear
- gpt3_mcore_te_tp1_pp4_resume_torch_dist_sequence_parallel
- gpt3_mcore_te_tp1_pp4_resume_torch_dist_swiglu
- gpt3_mcore_te_tp1_pp4_resume_torch_dist_untie_embeddings_and_outputs
- gpt3_mcore_te_tp1_pp4_sequence_parallel
- gpt3_mcore_te_tp1_pp4_swiglu
- gpt3_mcore_te_tp1_pp4_untie_embeddings_and_outputs
- gpt3_mcore_te_tp1_pp4_vp1_calculate_per_token_loss
- gpt3_mcore_te_tp1_pp4_vp1_decoupled_lr
- gpt3_mcore_te_tp1_pp4_vp1_dist_optimizer_overlap_grad_reduce_param_gather_overlap_optimizer
- gpt3_mcore_te_tp1_pp4_vp1_dist_optimizer_overlap_grad_reduce_param_gather
- gpt3_mcore_te_tp1_pp4_vp1_dist_optimizer_overlap_grad_reduce_untied
- gpt3_mcore_te_tp1_pp4_vp1_dist_optimizer_overlap_grad_reduce
- gpt3_mcore_te_tp1_pp4_vp1_resume_torch_decoupled_lr
- gpt3_mcore_te_tp1_pp4_vp1_resume_torch_dist_calculate_per_token_loss
- gpt3_mcore_te_tp1_pp4_vp1_resume_torch_dist_dist_optimizer_overlap_grad_reduce_param_gather
- gpt3_mcore_te_tp1_pp4_vp1_resume_torch_dist_dist_optimizer_overlap_grad_reduce_untied
- gpt3_mcore_te_tp1_pp4_vp1_resume_torch_dist_dist_optimizer_overlap_grad_reduce
- gpt3_mcore_te_tp1_pp4_vp1_resume_torch_dist_tunable_overlap
- gpt3_mcore_te_tp1_pp4_vp1_resume_torch_dist
- gpt3_mcore_te_tp1_pp4_vp1_tunable_overlap
- gpt3_mcore_te_tp1_pp4_vp1_uneven_pipeline
- gpt3_mcore_te_tp1_pp4_vp1
- gpt3_mcore_te_tp1_pp4_vp2_account_for_embedding_loss_in_pipeline_split
- gpt3_mcore_te_tp2_pp1_cp2_nondeterministic
- gpt3_mcore_te_tp2_pp1_frozen_resume_torch_dist_cp2_nondeterministic
- gpt3_mcore_te_tp2_pp1_gdn_1node
- gpt3_mcore_te_tp2_pp1_gdn_no_nvrx_async
- gpt3_mcore_te_tp2_pp1_gdn_no_nvrx_sync
- gpt3_mcore_te_tp2_pp1_gdn
- gpt3_mcore_te_tp2_pp1_multi_dist_optimizer_instances
- gpt3_mcore_te_tp2_pp1_resume_torch_dist_cp2_nondeterministic
- gpt3_mcore_te_tp2_pp1_resume_torch_dist_multi_dist_optimizer_instances
- gpt3_mcore_te_tp2_pp2_cp2_calculate_per_token_loss_nondeterministic
- gpt3_mcore_te_tp2_pp2_cp2_calculate_per_token_loss
- gpt3_mcore_te_tp2_pp2_cp2_etp4_calculate_per_token_loss_dp_last
- gpt3_mcore_te_tp2_pp2_cp2_etp4_calculate_per_token_loss_nondeterministic_dp_last
- gpt3_mcore_te_tp2_pp2_cp2_etp4_dp_last
- gpt3_mcore_te_tp2_pp2_cp2_etp4_nondeterministic_dp_last
- gpt3_mcore_te_tp2_pp2_cp2_nondeterministic
- gpt3_mcore_te_tp2_pp2_cp2
- gpt3_mcore_te_tp2_pp2_cross_entropy_loss_fusion
- gpt3_mcore_te_tp2_pp2_ddp_average_in_collective
- gpt3_mcore_te_tp2_pp2_defer_embedding_wgrad_compute
- gpt3_mcore_te_tp2_pp2_mla
- gpt3_mcore_te_tp2_pp2_no_create_attention_mask_in_dataloader
- gpt3_mcore_te_tp2_pp2_no_mmap_bin_files
- gpt3_mcore_te_tp2_pp2_resume_torch_dist_cp2_nondeterministic
- gpt3_mcore_te_tp2_pp2_resume_torch_dist_cross_entropy_loss_fusion
- gpt3_mcore_te_tp2_pp2_resume_torch_dist_ddp_average_in_collective
- gpt3_mcore_te_tp2_pp2_resume_torch_dist_defer_embedding_wgrad_compute
- gpt3_mcore_te_tp2_pp2_resume_torch_dist_no_create_attention_mask_in_dataloader
- gpt3_mcore_te_tp2_pp2_resume_torch_dist_no_mmap_bin_files
- gpt3_mcore_te_tp2_pp2_resume_torch_dist_reshard_1x4xNone
- gpt3_mcore_te_tp2_pp2_resume_torch_dist
- gpt3_mcore_te_tp2_pp2
- gpt3_mcore_te_tp2_zp_z3_resume_fsdp_dtensor
- gpt3_mcore_te_tp4_pp1_dist_optimizer_overlap_grad_reduce_param_gather
- gpt3_mcore_te_tp4_pp1_dist_optimizer_overlap_grad_reduce
- gpt3_mcore_te_tp4_pp1_qk_layernorm_test_mode
- gpt3_mcore_te_tp4_pp1_resume_torch_dist_dist_optimizer_overlap_grad_reduce_param_gather
- gpt3_mcore_te_tp4_pp1_resume_torch_dist_dist_optimizer_overlap_grad_reduce
- gpt3_mcore_te_tp4_pp1_resume_torch_dist_qk_layernorm_test_mode
- gpt3_mcore_te_tp4_pp2_frozen_resume_torch_dist_reshard_8x1xNone
- gpt3_mcore_te_tp4_pp2_resume_torch_dist_reshard_8x1xNone
- gpt3_mcore_tp1_pp1_dist_optimizer_overlap_grad_reduce_param_gather
- gpt3_mcore_tp1_pp1_resume_torch_dist_dist_optimizer_overlap_grad_reduce_param_gather
- gpt3_mcore_tp1_pp2_fp16
- gpt3_mcore_tp1_pp2_resume_torch_dist
- gpt3_mcore_tp1_pp2
- gpt3_mcore_tp1_pp4_resume_torch_dist
- gpt3_mcore_tp1_pp4
- gpt3_mcore_tp2_pp2_resume_torch_dist_uninstall_te
- gpt3_mcore_tp2_pp2_uninstall_te
- gpt3_mcore_tp4_pp1_resume_torch_dist
- gpt3_mcore_tp4_pp1_resume_torch
- gpt3_mcore_tp4_pp1
- gpt_dynamic_inference_tp1_pp1_dp4_583m_mxfp8_param_gather_logitsmatch
- gpt_grpo_disagg_nccl_1node
- gpt_inference_server_async_sched_tp2_pp2_dp2_qwen3_8b_sse
- gpt_inference_server_smoke_tp1_pp1_dp8_583m
- gpt_static_inference_tp1_pp1_16b_multiprompt_tokensmatch
- gpt_static_inference_tp1_pp1_583m_fp8_cudagraphs
- gpt_static_inference_tp1_pp1_583m_logitsmatch
- hybrid
- hybrid_mhc_tp1_pp2_vpp2_empty_mtp
- hybrid_mhc_tp2_pp2_mtp
- hybrid_mr_mcore_te_tp1_pp1_cp1_dgx_a100_1N8G
- hybrid_mr_mcore_te_tp1_pp4_cp1_dgx_a100_1N8G
- hybrid_mr_mcore_te_tp2_pp1_cp1_dgx_a100_1N8G
- hybrid_mr_mcore_te_tp2_pp1_cp4_dgx_a100_1N8G
- mimo/mimo_hetero_gtp_checkpoint_round_trip
- mixtral
- mixtral_8x22b_tp2pp8ep8vpp1_release
- mixtral_8x7b_alltoall_tp2pp4ep4_release
- mixtral_8x7b_tp1pp4ep8vpp8_release
- moe
- deepseek_proxy_mfsdp_v1_ep2_1node
- deepseek_proxy_mfsdp_v1_ep2_ep_overlap
- deepseek_proxy_mfsdp_v2_ep2_bf16_cg_optim_1node
- deepseek_proxy_mfsdp_v2_ep2_ep_overlap
- deepseek_proxy_mfsdp_v2_ep2_hfsdp_mb2
- deepseek_proxy_mfsdp_v2_ep2_hsdp_mb2
- deepseek_proxy_mfsdp_v2_ep2_mb2
- deepseek_proxy_mfsdp_v2_ep2_mb4_per_token_loss_1node
- deepseek_proxy_mfsdp_v2_ep2
- gpt3_mcore_cp2_pp2_ep2_te_4experts2parallel_nondeterministic_dp_last
- gpt3_mcore_cp2_pp2_ep2_te_4experts2parallel_nondeterministic
- gpt3_mcore_te_tp1_pp2_resume_torch_dist_reshard_2x1x4_te_8experts2parallel_dist_optimizer
- gpt3_mcore_te_tp2_pp1_frozen_resume_torch_dist_te_8experts2parallel_dist_optimizer
- gpt3_mcore_te_tp2_pp1_frozen_resume_torch_dist_te_8experts2parallel_groupedGEMM
- gpt3_mcore_te_tp2_pp1_resume_torch_dist_te_8experts2parallel_dist_optimizer
- gpt3_mcore_te_tp2_pp1_resume_torch_dist_te_8experts2parallel_groupedGEMM
- gpt3_mcore_te_tp2_pp1_resume_torch_dist_te_8experts2parallel_multi_dist_optimizer_instances
- gpt3_mcore_te_tp2_pp1_resume_torch_dist_te_8experts2parallel_top2router
- gpt3_mcore_te_tp2_pp1_te_8experts2parallel_ddp_average_in_collective
- gpt3_mcore_te_tp2_pp1_te_8experts2parallel_dist_optimizer
- gpt3_mcore_te_tp2_pp1_te_8experts2parallel_overlap_grad_reduce_param_gather_groupedGEMM
- gpt3_mcore_te_tp2_pp1_te_8experts2parallel_top2router
- gpt3_mcore_te_tp2_pp1_te_8experts_etp1_ep4
- gpt3_mcore_te_tp2_zp_z3_resume_torch_dist_te_8experts2parallel_top2router
- gpt3_mcore_tp2_cp2_pp2_ep2_te_4experts2parallel_dp_last
- gpt3_mcore_tp2_cp2_pp2_ep2_te_4experts2parallel
- gpt3_mcore_tp2_pp2_ep2_etp2_te_4experts2parallel_dp_last
- gpt3_mcore_tp2_pp2_ep2_etp2_te_4experts2parallel
- gpt3_mcore_tp2_pp2_ep2_resume_torch_dist_te_4experts2parallel
- gpt3_mcore_tp2_pp2_ep2_te_4experts2parallel
- gpt3_moe_mcore_te_ep8_resume_torch_dist_dist_muon
- gpt3_moe_mcore_te_ep8_resume_torch_dist_dist_optimizer
- gpt3_moe_mcore_te_ep8_resume_torch_dist_muon
- gpt_dynamic_inference_tp4_etp1_pp1_ep8_16B_logitsmatch_zmq_suspend_resume
- gpt_dynamic_inference_tp4_etp1_pp1_ep8_16B_routing_replay_async_sched
- gpt_dynamic_inference_tp4_etp1_pp1_ep8_16B_routing_replay_prefix_cache_cudagraph_async_sched
- gpt_grpo_tp8tp4_pp1_ep8ep2_dp8_throughputtest
- multimodal-llava
- multimodal_llava_mcore_te_tp1_pp1
- multimodal_llava_mcore_te_tp4_sp_cp2
- nemotron/nemotron3_super_release_g200
- t5
- t5_11b_mcore_tp4_pp1
- t5_mcore_te_tp1_pp1_vp1_resume_torch
- t5_mcore_te_tp2_pp1_vp1_sequence_parallel
- t5_mcore_te_tp2_pp1_vp1
- t5_mcore_te_tp4_pp1_resume_torch_dist
- t5_mcore_te_tp4_pp1
- t5_mcore_tp1_pp1_vp1_resume_torch
- t5_mcore_tp1_pp1_vp1
- t5_mcore_tp2_pp1_vp1
- t5_mcore_tp4_pp1_resume_torch_dist
- t5_mcore_tp4_pp1
- t5_release
- t5_weekly_mcore_te_tp2_pp1_vp1_sequence_parallel
- t5_weekly_mcore_te_tp2_pp1_vp1
- performance_tests
- shell_test_utils
- determinism
- test_cases/hybrid/hybrid_nanov3_3b_perf_gb200_4gpu
- test_utils
- python_scripts
- recipes
- gb200
- gb300
- h100
- unit_tests
- a2a_overlap
- data
- determinism
- correctness
- kernels
- dist_checkpointing
- models
- distributed
- mfsdp_v1
- mfsdp_v2
- elastification
- fusions
- generalized_tensor_parallel
- inference
- contexts
- attention_metadata
- dynamo
- engines
- high_level_api
- model_inference_wrappers
- text_generation_controllers
- models
- mimo
- ops
- optimizer
- pipeline_parallel
- resharding
- rl
- ssm
- tensor_parallel
- training
- config
- transformer
- experimental_attention_variant
- moe
- tuning
- tools
- checkpoint
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 2 | | |
7 | 3 | | |
8 | 4 | | |
| |||
46 | 42 | | |
47 | 43 | | |
48 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
44 | 65 | | |
45 | 66 | | |
46 | 67 | | |
| |||
83 | 104 | | |
84 | 105 | | |
85 | 106 | | |
| 107 | + | |
86 | 108 | | |
87 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
88 | 113 | | |
89 | 114 | | |
90 | | - | |
91 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
92 | 129 | | |
93 | 130 | | |
94 | 131 | | |
95 | | - | |
96 | | - | |
| 132 | + | |
| 133 | + | |
97 | 134 | | |
98 | | - | |
| 135 | + | |
99 | 136 | | |
100 | 137 | | |
101 | 138 | | |
| |||
314 | 351 | | |
315 | 352 | | |
316 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
317 | 365 | | |
318 | | - | |
| 366 | + | |
319 | 367 | | |
320 | 368 | | |
321 | 369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
150 | 168 | | |
151 | 169 | | |
152 | 170 | | |
| |||
225 | 243 | | |
226 | 244 | | |
227 | 245 | | |
228 | | - | |
| 246 | + | |
229 | 247 | | |
230 | 248 | | |
231 | 249 | | |
232 | 250 | | |
233 | | - | |
| 251 | + | |
234 | 252 | | |
235 | 253 | | |
236 | 254 | | |
| |||
272 | 290 | | |
273 | 291 | | |
274 | 292 | | |
275 | | - | |
| 293 | + | |
276 | 294 | | |
277 | 295 | | |
278 | 296 | | |
| |||
0 commit comments