Qwen3.6-35B-A3B#

Qwen3.5 is a family of vision-language models supporting multimodal understanding across text, images, and videos. Qwen3.5-VL includes both dense models and Mixture-of-Experts (MoE) variants for improved efficiency at scale.

Qwen3.6 shares the same architecture as Qwen3.5 VL MoE (Qwen3_5MoeForConditionalGeneration) and is supported through the same bridge implementation.

Qwen 3.5/3.6 models feature a hybrid architecture combining GDN (Gated DeltaNet) layers with standard attention layers, SwiGLU activations, and RMSNorm. MoE variants use top-k routing with shared experts for better quality.

Qwen 3.5/3.6 models are supported via Megatron Bridge with auto-detected configuration and weight mapping.

Important

Use transformers >= 5.2.0 for Qwen3.5 and >= 5.8.1 for Qwen3.6.

Migrating GPT-based Megatron checkpoints#

Qwen3.5 and Qwen3.6 now use Megatron Core’s HybridModel. Existing Hugging Face checkpoints remain supported, but Megatron checkpoints saved by the previous GPT-based implementation are not directly compatible. Hybrid stores each attention/GDN and feed-forward pair as two separate layers and uses different parameter names. Old optimizer state cannot be resumed directly either.

To continue an existing run without conversion, keep using the Bridge and Core versions that created its checkpoint. For a weight-only migration, export the checkpoint to Hugging Face format with those old versions, then import the HF weights with the Hybrid implementation and start a new optimizer and scheduler. This export/import migration has not yet been validated end to end; check the converted model’s outputs before starting a new training run. Do not use non-strict checkpoint loading to bypass the format mismatch.

RoPE fusion#

Qwen3.5 and Qwen3.6 apply rotary position embeddings per token: the language model, including its MTP layer, rotates each token by its own multimodal (MRoPE) angles, and the vision encoder rotates each patch by its 2D angles. With model.apply_rope_fusion=True, all of them run Transformer Engine’s fused RoPE kernel. The kernel computes in FP32 and rounds once, the same math as apply_rotary_pos_emb_in_fp32=True, which the vision encoder already uses. In the BF16 language model it is therefore slightly more accurate than the unfused implementation, but not bitwise identical to it. The vision encoder follows the language model’s setting. Inputs the kernel cannot take, such as tensors on the CPU, use the unfused implementation, with one warning per reason. Fusion is off by default. The Qwen3.5-VL performance recipes turn it on, except the H100 35B-A3B BF16 recipe, which keeps its library recipe’s execution policy; the library recipes keep it off.

For the example scripts, see the Qwen3.5/3.6-VL examples README.

Verified configurations#

Choose an exact recorded configuration to see its command and expected result. These selectors are generated from the authoritative verification cards and never synthesize combinations.

Run a configuration#

Choose a workflow, precision, and exact recorded combination. The command and expected result update below.

Import · CPU

✓ Verified
Hardware
not specified
Precision
BF16
Last verified
2026-07-23
Exact command
Command
./scripts/conversion/convert.sh import --executor slurm --device cpu --nodes 1 --gpus-per-node 1 --mem 512G --hf-model Qwen/Qwen3.6-35B-A3B --hf-revision 995ad96eacd98c81ed38be0c5b274b04031597b0 --megatron-path work/model-verification/qwen3.6-35b-a3b/cpu-megatron
Expected result

The pinned-revision import exited successfully in 14m39s and created iter_0000000. Model weights remained on CPU; exactly one shared runtime GPU was required because Transformer Engine constructs the Qwen vision modules through CUDA even for CPU-weight conversion. The resulting checkpoint was reloadable by the subsequent verified CPU export.

Supplementary shared-Hybrid-implementation validation only: Qwen/Qwen3.5-35B-A3B, revision 59d61f3ce65a6d9863b86d2e96597125219dc754, NeMo 26.10. These observations do not verify the Qwen3.6 checkpoint. Bridge commit: 3152313c10d1043350edb588c5c87aee9b8389de. Verified on 2026-11-03. Executed Qwen3.5 command(s): ./scripts/conversion/convert.sh import –executor slurm –device cpu –nodes 1 –gpus-per-node 4 –mem 512G –hf-model Qwen/Qwen3.5-35B-A3B –hf-revision 59d61f3ce65a6d9863b86d2e96597125219dc754 –megatron-path work/model-verification/qwen3.5-35b-a3b/cpu-megatron

Imported the complete pinned checkpoint with model weights on CPU in one process and saved iter_0000000. Transformer Engine vision-module construction required one runtime GPU; four GB300 GPUs were allocated to satisfy the minimum allocation. The subsequent CPU export reloaded the checkpoint successfully. The complete BF16 roundtrip preserves all 1,811 keys and shapes, with precision changes documented in megatron_to_hf_cpu; it is not a lossless mixed-dtype roundtrip.

Import · GPU

✓ Verified
Hardware
not specified
Precision
BF16
Last verified
2026-07-23
Exact command
Command
./scripts/conversion/convert.sh import --executor slurm --device gpu --nodes 2 --gpus-per-node 8 --hf-model Qwen/Qwen3.6-35B-A3B --hf-revision 995ad96eacd98c81ed38be0c5b274b04031597b0 --megatron-path work/model-verification/qwen3.6-35b-a3b/imported-megatron --tp 2 --ep 8
Expected result

The 16-H100 pinned-revision import exited successfully at TP2/PP1/EP8/ETP1 and created a 16-shard iter_0000000 distributed checkpoint. Subsequent verified GPU export and inference workloads reloaded this checkpoint successfully.

Supplementary shared-Hybrid-implementation validation only: Qwen/Qwen3.5-35B-A3B, revision 59d61f3ce65a6d9863b86d2e96597125219dc754, NeMo 26.10. These observations do not verify the Qwen3.6 checkpoint. Bridge commit: 3152313c10d1043350edb588c5c87aee9b8389de. Verified on 2026-11-03. Executed Qwen3.5 command(s): ./scripts/conversion/convert.sh import –executor slurm –device gpu –nodes 1 –gpus-per-node 4 –ep 4 –hf-model Qwen/Qwen3.5-35B-A3B –hf-revision 59d61f3ce65a6d9863b86d2e96597125219dc754 –megatron-path work/model-verification/qwen3.5-35b-a3b/gpu-megatron

Imported the complete pinned checkpoint on four GB300 GPUs at TP1/PP1/EP4/ETP1 and saved iter_0000000 with four distributed shards. Subsequent GPU export, forward comparison, inference, SFT, and PEFT successfully reloaded the checkpoint. The BF16 roundtrip preserves all 1,811 tensor keys and shapes, with the precision changes documented in megatron_to_hf_gpu; it is not a lossless mixed-dtype roundtrip.

Export · CPU

✓ Verified
Hardware
not specified
Precision
BF16
Last verified
2026-07-23
Exact command
Command
./scripts/conversion/convert.sh export --executor slurm --device cpu --nodes 1 --gpus-per-node 1 --mem 512G --hf-model Qwen/Qwen3.6-35B-A3B --hf-revision 995ad96eacd98c81ed38be0c5b274b04031597b0 --megatron-path work/model-verification/qwen3.6-35b-a3b/cpu-megatron/iter_0000000 --hf-path work/model-verification/qwen3.6-35b-a3b/cpu-hf-export
Expected result

Export exited successfully in 6m42s with weights on CPU and exactly one shared runtime GPU for Transformer Engine vision-module construction. Transformers strictly reloaded all 1,045 BF16 tensors in 26 indexed shards as Qwen3_5MoeForConditionalGeneration. The exported config preserves 40 language layers, 256 experts, top-8 routing, 27 vision layers, and one MTP layer with dedicated embeddings disabled.

Supplementary shared-Hybrid-implementation validation only: Qwen/Qwen3.5-35B-A3B, revision 59d61f3ce65a6d9863b86d2e96597125219dc754, NeMo 26.10. These observations do not verify the Qwen3.6 checkpoint. Bridge commit: 3152313c10d1043350edb588c5c87aee9b8389de. Verified on 2026-11-03. Executed Qwen3.5 command(s): ./scripts/conversion/convert.sh export –executor slurm –device cpu –nodes 1 –gpus-per-node 4 –mem 512G –hf-model Qwen/Qwen3.5-35B-A3B –hf-revision 59d61f3ce65a6d9863b86d2e96597125219dc754 –megatron-path work/model-verification/qwen3.5-35b-a3b/cpu-megatron/iter_0000000 –hf-path work/model-verification/qwen3.5-35b-a3b/cpu-hf-export

Export completed with weights on CPU in one process and one runtime GPU from a four-GB300 allocation. Transformers independently reloaded the complete export with no missing, unexpected, mismatched, or error entries. All 1,811 keys and shapes match the pinned source. The source’s 30 GDN A_log tensors and 30 GDN output norm tensors change from FP32 to BF16; all other dtypes are preserved. Values of 1,781 tensors match exactly, including A_log. The 30 norm tensors exactly match BF16(FP32_source - 1) + BF16(1). Their maximum absolute source difference is 0.00390625, within an absolute tolerance of 1/256; no other tensor values differ. This verifies BF16 conversion, not lossless retention of the source’s mixed dtypes.

Export · GPU

✓ Verified
Hardware
not specified
Precision
BF16
Last verified
2026-07-23
Exact command
Command
./scripts/conversion/convert.sh export --executor slurm --device gpu --nodes 2 --gpus-per-node 8 --hf-model Qwen/Qwen3.6-35B-A3B --hf-revision 995ad96eacd98c81ed38be0c5b274b04031597b0 --megatron-path work/model-verification/qwen3.6-35b-a3b/imported-megatron/iter_0000000 --hf-path work/model-verification/qwen3.6-35b-a3b/hf-export --tp 2 --ep 8
Expected result

The 16-H100 distributed export exited successfully and wrote 26 indexed shards containing 1,045 BF16 tensors and 71,903,645,408 serialized tensor bytes. Transformers independently reloaded the persisted export as Qwen3_5MoeForConditionalGeneration with empty missing, unexpected, mismatched, and error sets.

Supplementary shared-Hybrid-implementation validation only: Qwen/Qwen3.5-35B-A3B, revision 59d61f3ce65a6d9863b86d2e96597125219dc754, NeMo 26.10. These observations do not verify the Qwen3.6 checkpoint. Bridge commit: 3152313c10d1043350edb588c5c87aee9b8389de. Verified on 2026-11-03. Executed Qwen3.5 command(s): ./scripts/conversion/convert.sh export –executor slurm –device gpu –nodes 1 –gpus-per-node 4 –ep 4 –hf-model Qwen/Qwen3.5-35B-A3B –hf-revision 59d61f3ce65a6d9863b86d2e96597125219dc754 –megatron-path work/model-verification/qwen3.5-35b-a3b/gpu-megatron/iter_0000000 –hf-path work/model-verification/qwen3.5-35b-a3b/gpu-hf-export

GPU export completed on four GB300 GPUs at TP1/PP1/EP4/ETP1. All 1,811 keys and shapes match the pinned source. Transformers strictly reloaded the complete export with no missing, unexpected, mismatched, or error entries. The source’s 30 GDN A_log tensors and 30 GDN output norm tensors change from FP32 to BF16; all other dtypes are preserved. Values of 1,781 tensors match exactly, including A_log. The 30 norm tensors exactly match BF16(FP32_source - 1) + BF16(1), the implemented zero-centered norm roundtrip. Their maximum absolute source difference is 0.00390625, within an absolute tolerance of 1/256; no other tensor values differ. This verifies the BF16 conversion, not lossless retention of the source’s mixed dtypes.

Pretrain · H100

✓ Verified
Hardware
H100
Precision
BF16
Last verified
2026-11-03
Recorded metrics
Initial loss
3.600145
Final loss
3.062526
Step time · last 10 avg
22,738.330 ms
Model throughput · last 10 avg
132.830 TFLOP/s/GPU
Token throughput · last 10 avg
5,764.364 tokens/s/GPU
Exact command
Command
./scripts/training/train.sh --nodes 2 --gpus-per-node 8 --recipe qwen35_vl_35b_a3b_pretrain_config --dataset energon --pretrained_checkpoint work/model-verification/qwen3.6-35b-a3b/imported-megatron/iter_0000000 --max_steps 50 --warmup_iters 10 dataset.path=work/data/datacomp/energon dataset.task_encoder.hf_processor_path=Qwen/Qwen3.6-35B-A3B dataset.task_encoder.hf_processor_revision=995ad96eacd98c81ed38be0c5b274b04031597b0 dataset.task_encoder.max_pixels=200704 dataset.do_validation=false dataset.pad_to_max_length=true scheduler.lr_decay_iters=50 model.hf_model_id=Qwen/Qwen3.6-35B-A3B model.bos_token_id=248044 checkpoint.load=null checkpoint.save=null validation.eval_iters=0 validation.eval_interval=0 logger.log_interval=1 logger.log_throughput=true logger.save_config_filepath=work/model-verification/qwen3.6-35b-a3b/h100-performance/resolved-config.yaml
Expected result

The 16-H100 command completed all 50 full-model DataComp Energon steps at TP1/PP2/CP1/EP8/ETP1 and MBS1/GBS512 after warm-starting the immutable imported checkpoint for natural routing. Loss remained finite from 3.600145 to 3.062526 with zero skipped or NaN iterations, and the run saved no checkpoint. The 519,827/5,173 train/validation split was prepared with the official DataComp downloader at commit 4a8df1992566, DataComp-1B metadata revision 086ebeee20d4, img2dataset 1.40.0, and preparation manifest 6e273a96a756. This verifies bounded full-model training, not canonical DataComp/CLIP convergence or checkpoint resume.

Pretrain · GB200

✓ Verified
Hardware
GB200
Precision
BF16
Last verified
2026-10-28
Recorded metrics
Initial loss
2.203229
Final loss
2.137179
Step time · last 10 avg
24,539.100 ms
Model throughput · last 10 avg
240.070 TFLOP/s/GPU
Token throughput · last 10 avg
10,682.706 tokens/s/GPU
Peak allocated memory
124.928 GiB
Peak reserved memory
132.527 GiB
Exact command
Command
./scripts/training/train.sh --nodes 2 --gpus-per-node 4 --additional-slurm-params segment=2 --recipe qwen35_text_35b_a3b_pretrain_8gpu_gb200_bf16_config --mode pretrain --pretrained_checkpoint work/model-verification/qwen3.6-35b-a3b/text-megatron --max_steps 100 --warmup_iters 40 scheduler.lr_decay_iters=100 'dataset.blend=[["work/data/rp2-qwen35/head_01_qwen35_text_document"],null]' dataset.path_to_cache=work/cache/rp2-qwen35 validation.eval_iters=0 validation.eval_interval=0 checkpoint.save=null checkpoint.load=null ddp.check_for_nan_in_grad=true rerun_state_machine.check_for_nan_in_loss=true logger.log_interval=1 logger.log_throughput=true logger.log_memory_to_tensorboard=true logger.tensorboard_log_interval=1 logger.tensorboard_dir=work/model-verification/qwen3.6-35b-a3b/gb200-text-pretrain/tb logger.save_config_filepath=work/model-verification/qwen3.6-35b-a3b/gb200-text-pretrain/resolved-config.yaml dist.distributed_timeout_minutes=30
Expected result

Early, unoptimized library recipe: on two four-GPU GB200 nodes in one segment-2 NVLink domain, the language-only Qwen3.5 text 35B-A3B recipe completes exactly 100 RedPajama2 pretraining steps at 240.070 model TFLOP/s/GPU, below the roughly 400 TFLOP/s/GPU BF16 readiness target, at TP1/PP1/CP1/EP8/ETP1 and MBS1/GBS512 (64 micro-batches per step), sequence length 4096, with HybridEP, Transformer Engine CUDA graphs over attention and the MoE router and preprocess, and no activation recompute. The recipe builds its model from the Qwen3.5-35B-A3B-Base text config at revision 0f0813072d23, which matches this card's language model: 40 layers (30 Gated DeltaNet, 10 gated attention), 256 experts with natural top-8 routing, and one MTP layer. The command warm-starts weights only from a language checkpoint of the card's pinned revision: scripts/conversion/extract_qwen35_text_checkpoint.py keeps the language model and its MTP layer, and a GPU import at EP4 writes the Megatron checkpoint. The vision tower is not part of this workload. The data is documents [0, 256498) of the RedPajama2 head_01 shard re-encoded with the Qwen3.5 Base tokenizer, which shares this model's vocabulary and merges: 300,001,001 tokens, of which 100 steps read 209,715,200 token slots. The learning rate warms up for 40 steps to 3e-4 and decays (cosine) to 3e-5 at step 100. GBS 512, FP32 gradient reduction without the precision-aware optimizer, and no checkpoint saves differ from the text-pretraining cohort, so this is support verification, not cohort convergence evidence. LM loss is finite from 2.203229 to 2.137179 and MTP loss from 2.582565 to 2.414493, with zero skipped or NaN iterations. Steps 91-100 average 24,539.100 ms, 240.070 model TFLOP/s/GPU, and 10,682.706 token slots/s/GPU, with 124.928 GiB peak allocated and 132.527 GiB peak reserved memory on rank 0. The persisted post-setup config records the exact runtime. The run used a NeMo 26.10 release-candidate base container with the pinned Megatron-Core submodule, and the process exits successfully.

Pretrain · GB300

○ Unverified
Hardware
GB300
Precision
BF16
Last verified
—
Recorded metrics
Initial loss
None
Final loss
None
Step time · last 10 avg
None ms
Model throughput · last 10 avg
None TFLOP/s/GPU
Token throughput · last 10 avg
None tokens/s/GPU
Exact command
Command
./scripts/training/train.sh --nodes 4 --gpus-per-node 4 --wait --recipe qwen35_vl_35b_a3b_pretrain_16gpu_gb300_bf16_config --mode pretrain --dataset energon --pretrained_checkpoint work/model-verification/qwen3.6-35b-a3b/imported-megatron/iter_0000000 --max_steps 100 --warmup_iters 40 --lr 3e-4 --min_lr 3e-5 dataset.path=work/data/medpix/energon-pinned dataset.task_encoder.hf_processor_path=Qwen/Qwen3.6-35B-A3B dataset.task_encoder.hf_processor_revision=995ad96eacd98c81ed38be0c5b274b04031597b0 dataset.task_encoder.max_pixels=200704 dataset.do_validation=false dataset.pad_to_max_length=true scheduler.lr_decay_iters=100 checkpoint.load=null --save_dir work/model-verification/qwen3.6-35b-a3b/pretrain/checkpoints --save_interval 50 validation.eval_iters=0 validation.eval_interval=0 logger.log_interval=1 logger.log_throughput=true logger.save_config_filepath=work/model-verification/qwen3.6-35b-a3b/pretrain/resolved-config.yaml
Expected result

Qwen3.6 on GB300 is unverified; the command above has not been executed for its pinned weights. Build its Energon input first with uv run python tutorials/data/energon/prepare_medpix_data.py --output-dir work/data/medpix/energon-pinned --revision 69eb219d477ab8699296da1fd6b89beb768042d3 --train-rows all, which packages every training row of mmoukouba/MedPix-VQA at that revision; checkpoint_resume reuses it.

Supplementary shared-Hybrid-implementation validation only: Qwen/Qwen3.5-35B-A3B, revision 59d61f3ce65a6d9863b86d2e96597125219dc754, NeMo 26.10. These observations do not verify the Qwen3.6 checkpoint. Bridge commit: ad196b9a6d14ef62979fc8532af62a7d6ea0fe66. Verified on 2026-11-04. Executed Qwen3.5 command(s): ./scripts/training/train.sh –nodes 4 –gpus-per-node 4 –wait –recipe qwen35_vl_35b_a3b_pretrain_16gpu_gb300_bf16_config –mode pretrain –dataset energon –pretrained_checkpoint work/model-verification/qwen3.5-35b-a3b/gpu-megatron/iter_0000000 –max_steps 100 –warmup_iters 40 –lr 3e-4 –min_lr 3e-5 dataset.path=work/data/medpix/energon-pinned dataset.task_encoder.hf_processor_path=Qwen/Qwen3.5-35B-A3B dataset.task_encoder.hf_processor_revision=59d61f3ce65a6d9863b86d2e96597125219dc754 dataset.task_encoder.max_pixels=200704 dataset.do_validation=false dataset.pad_to_max_length=true scheduler.lr_decay_iters=100 checkpoint.load=null –save_dir work/model-verification/qwen3.5-35b-a3b/pretrain/checkpoints –save_interval 50 validation.eval_iters=0 validation.eval_interval=0 logger.log_interval=1 logger.log_throughput=true logger.save_config_filepath=work/model-verification/qwen3.5-35b-a3b/pretrain/resolved-config.yaml

Completed all 100 full-model continuation steps on 16 GB300 GPUs, warm-started from the pinned published weights, with finite losses and zero skipped or NaN iterations. The Energon input contains all 17,420 training rows of mmoukouba/MedPix-VQA revision 69eb219d477ab8699296da1fd6b89beb768042d3, reused for 204,800 consumed examples. This is a bounded VQA continuation cohort, not the RedPajama2 or DataComp pretraining cohorts and not full convergence. The saved runtime config records TP1/PP1/CP1/EP4/ETP1, MBS4/GBS2048, sequence length 4096, natural routing, FLA GDN, FP32 optimizer master parameters and gradients, BF16 Adam moments, selective core_attn and gdn_norm_out recompute, and separate vision attn/mlp CUDA graphs. Learning rate warms up for 40 steps to 3e-4 and decays to 3e-5 at step 100. Metrics average steps 91-100. Both step-50 and step-100 checkpoints saved all 16 distributed shards, optimizer/RNG state, and per-rank Energon data positions. A separate continuation successfully restored step 50; its loss-consistency result is tracked in checkpoint_resume.

Qwen3.5 observed metrics: {“final_loss”: 0.03088333, “initial_loss”: 1.997142, “last_10_steps_model_tflops_per_gpu_avg”: 420.7, “last_10_steps_step_time_ms_avg”: 28666.45, “last_10_steps_tokens_per_second_per_gpu_avg”: 18289.255}.

SFT · H100

✓ Verified
Hardware
H100
Precision
BF16
Last verified
2026-08-05
Recorded metrics
Initial loss
2.211317
Final loss
1.006886
Step time · last 10 avg
3,268.140 ms
Model throughput · last 10 avg
57.690 TFLOP/s/GPU
Token throughput · last 10 avg
2,506.625 tokens/s/GPU
Exact command
Command
./scripts/training/train.sh –nodes 2 –gpus-per-node 8 –recipe qwen35_vl_35b_a3b_sft_16gpu_h100_bf16_config –dataset medpix –pretrained_checkpoint work/model-verification/qwen3.6-35b-a3b/imported-megatron/iter_0000000 –max_steps 100 –warmup_iters 10 ‘dataset.source.load_kwargs={revision:69eb219d477ab8699296da1fd6b89beb768042d3}’ ‘dataset.source.adapter_kwargs={resized_height:448,resized_width:448}’ dataset.hf_processor_path=Qwen/Qwen3.6-35B-A3B ‘dataset.hf_processor_kwargs={revision:995ad96eacd98c81ed38be0c5b274b04031597b0}’ dataset.do_validation=false dataset.pad_to_max_length=true scheduler.lr_decay_iters=100 model.hf_model_id=Qwen/Qwen3.6-35B-A3B model.bos_token_id=248044 validation.eval_iters=0 validation.eval_interval=0 ddp.check_for_large_grads=true –save_dir work/model-verification/qwen3.6-35b-a3b/sft-support-v11/checkpoints –save_interval 50 logger.log_interval=1 logger.log_throughput=true logger.save_config_filepath=work/model-verification/qwen3.6-35b-a3b/sft-support-v11/resolved-config.yaml
Expected result

The exact 16-H100 command completed all 100 MedPix SFT steps at TP1/PP2/CP1/EP8/ETP1, MBS1/GBS32, natural expert routing, HybridEP, one-layer full-uniform recompute, graph-free language and vision stacks, FP32 optimizer state, and Transformer Engine fused cross entropy. Loss was finite from 2.211317 to 1.006886 with zero skipped or NaN iterations. Steps 91-100 averaged 3,268.140 ms and 57.690 model TFLOP/s/GPU. Step-50 and step-100 saves both completed; the final checkpoint contains 20 nonempty files, including 16 distributed shards, totaling 509,636,716,209 bytes, and the tracker selects iteration 100.

SFT · GB200

✓ Verified
Hardware
GB200
Precision
BF16
Last verified
2026-11-09
Recorded metrics
Initial loss
2.209864
Final loss
0.9722831
Step time · last 10 avg
5,580.560 ms
Model throughput · last 10 avg
67.550 TFLOP/s/GPU
Token throughput · last 10 avg
2,935.906 tokens/s/GPU
Exact command
Command
./scripts/training/train.sh --nodes 2 --gpus-per-node 4 --recipe qwen35_vl_35b_a3b_sft_8gpu_gb200_bf16_functional_config --dataset medpix --pretrained_checkpoint work/model-verification/qwen3.6-35b-a3b/imported-megatron/iter_0000000 --max_steps 100 --warmup_iters 10 'dataset.source.load_kwargs={revision:69eb219d477ab8699296da1fd6b89beb768042d3}' 'dataset.source.adapter_kwargs={resized_height:448,resized_width:448}' dataset.hf_processor_path=Qwen/Qwen3.6-35B-A3B 'dataset.hf_processor_kwargs={revision:995ad96eacd98c81ed38be0c5b274b04031597b0}' scheduler.lr_decay_iters=100 model.hf_model_id=Qwen/Qwen3.6-35B-A3B model.bos_token_id=248044 logger.save_config_filepath=work/model-verification/qwen3.6-35b-a3b/gb200-sft/resolved-config.yaml
Expected result

On 8x GB200, measured at this item's Bridge commit, the shared Qwen3.5/Qwen3.6-VL functional recipe completed exactly 100 MedPix SFT steps at TP1/PP1/CP1/EP8/ETP1, MBS1/GBS32, natural routing, HybridEP, no activation recompute, and BF16 gradient reduction. Loss was finite from 2.209864 to 0.9722831 with zero skipped or NaN iterations. Steps 91-100 averaged 5,580.560 ms and 67.550 model TFLOP/s/GPU. The recipe intentionally disables checkpoint output for this bounded functional run; reload/export coverage remains represented by the H100 SFT and sft_export_inference items.

SFT · GB300

✓ Verified
Hardware
GB300
Precision
BF16
Last verified
2026-11-16
Recorded metrics
Initial loss
2.211273
Final loss
0.9719988
Step time · last 10 avg
3,932.050 ms
Model throughput · last 10 avg
95.660 TFLOP/s/GPU
Token throughput · last 10 avg
4,166.783 tokens/s/GPU
Exact command
Command
./scripts/training/train.sh --nodes 2 --gpus-per-node 4 --wait --recipe qwen35_vl_35b_a3b_sft_8gpu_gb200_bf16_functional_config --mode sft --dataset medpix --pretrained_checkpoint work/model-verification/qwen3.6-35b-a3b/imported-megatron/iter_0000000 --max_steps 100 --warmup_iters 10 scheduler.lr_decay_iters=100 'dataset.source.load_kwargs={revision:69eb219d477ab8699296da1fd6b89beb768042d3}' 'dataset.source.adapter_kwargs={resized_height:448,resized_width:448}' dataset.hf_processor_path=Qwen/Qwen3.6-35B-A3B 'dataset.hf_processor_kwargs={revision:995ad96eacd98c81ed38be0c5b274b04031597b0}' checkpoint.load=null --save_dir work/model-verification/qwen3.6-35b-a3b/sft/checkpoints --save_interval 100 logger.log_interval=1 logger.log_throughput=true logger.save_config_filepath=work/model-verification/qwen3.6-35b-a3b/sft/resolved-config.yaml
Expected result

Qwen3.6 on eight GB300 GPUs at this item's Bridge commit: the command above completed all 100 MedPix-VQA SFT steps from the card's imported-megatron checkpoint with finite losses and zero skipped or NaN iterations, and step 100 saved the final checkpoint. The persisted runtime config records TP1/PP1/CP1/EP8/ETP1, sequence length 4096 and MBS1/GBS32. Metrics average steps 91-100; token-slot throughput uses 4096 times GBS32 per step. The imported-megatron checkpoint must be produced by the hf_to_megatron_gpu command at this same Bridge commit; a checkpoint imported at the card-wide commit does not load here. At this commit the recipe dispatches MoE tokens with NCCL EP, which has no HybridEP combine-chunk setting, so the command passes no NUM_OF_TOKENS_PER_CHUNK_COMBINE_API override. Run on a NeMo nightly base container (2026-11-16). This verifies bounded full-model SFT, not full convergence.

Supplementary shared-Hybrid-implementation validation only: Qwen/Qwen3.5-35B-A3B, revision 59d61f3ce65a6d9863b86d2e96597125219dc754, NeMo 26.10. These observations do not verify the Qwen3.6 checkpoint. Bridge commit: 3152313c10d1043350edb588c5c87aee9b8389de. Verified on 2026-11-03. Executed Qwen3.5 command(s): ./scripts/training/train.sh –nodes 2 –gpus-per-node 4 –wait –recipe qwen35_vl_35b_a3b_sft_8gpu_gb200_bf16_functional_config –mode sft –dataset medpix –pretrained_checkpoint work/model-verification/qwen3.5-35b-a3b/gpu-megatron/iter_0000000 –max_steps 100 –warmup_iters 10 scheduler.lr_decay_iters=100 ‘dataset.source.load_kwargs={revision:69eb219d477ab8699296da1fd6b89beb768042d3}’ ‘dataset.source.adapter_kwargs={resized_height:448,resized_width:448}’ dataset.hf_processor_path=Qwen/Qwen3.5-35B-A3B ‘dataset.hf_processor_kwargs={revision:59d61f3ce65a6d9863b86d2e96597125219dc754}’ env_vars.NUM_OF_TOKENS_PER_CHUNK_COMBINE_API=64 checkpoint.load=null –save_dir work/model-verification/qwen3.5-35b-a3b/sft/checkpoints –save_interval 100 logger.log_interval=1 logger.log_throughput=true logger.save_config_filepath=work/model-verification/qwen3.5-35b-a3b/sft/resolved-config.yaml

Completed all 100 full-model MedPix-VQA SFT steps on eight GB300 GPUs, including language, vision, projection, and one MTP layer, with finite losses and zero skipped or NaN iterations. The persisted runtime config records TP1/PP1/CP1/EP8/ETP1, sequence length 4096, MBS1/GBS32, natural routing, no CUDA graphs, FP32 optimizer states, and assistant-only loss. Adam learning rate warms up for 10 steps to 2e-5 and decays to 2e-6 at step 100. The combine chunk is explicitly 64 to match HybridEP fused dispatch and preprocessing; the inherited 128 fails its runtime check. Step 100 saved all eight distributed shards, optimizer and RNG state, and the checkpoint tracker selects iteration 100. These are bounded support-verification observations, not full convergence or optimized performance results.

Qwen3.5 observed metrics: {“final_loss”: 0.9914345, “initial_loss”: 2.151638, “last_10_steps_model_tflops_per_gpu_avg”: 72.28, “last_10_steps_step_time_ms_avg”: 5216.92, “last_10_steps_tokens_per_second_per_gpu_avg”: 3140.55}.

Long Context · H100

✓ Verified
Hardware
H100
Precision
BF16
Last verified
2026-07-28
Recorded metrics
Initial loss
1.997653
Final loss
0.997894
Step time · last 10 avg
36,847.110 ms
Model throughput · last 10 avg
84.830 TFLOP/s/GPU
Token throughput · last 10 avg
3,557.185 tokens/s/GPU
Exact command
Command
./scripts/training/train.sh –nodes 4 –gpus-per-node 8 –recipe qwen35_vl_35b_a3b_sft_long_context_32gpu_h100_bf16_config –dataset medpix –pretrained_checkpoint work/model-verification/qwen3.6-35b-a3b/imported-megatron/iter_0000000 –max_steps 20 –warmup_iters 2 ‘dataset.source.load_kwargs={revision:69eb219d477ab8699296da1fd6b89beb768042d3}’ ‘dataset.source.adapter_kwargs={resized_height:448,resized_width:448}’ dataset.hf_processor_path=Qwen/Qwen3.6-35B-A3B ‘dataset.hf_processor_kwargs={revision:995ad96eacd98c81ed38be0c5b274b04031597b0}’ dataset.do_validation=false scheduler.lr_decay_iters=20 model.hf_model_id=Qwen/Qwen3.6-35B-A3B model.bos_token_id=248044 checkpoint.load=null checkpoint.save=null validation.eval_iters=0 validation.eval_interval=0 ddp.check_for_large_grads=true logger.log_interval=1 logger.log_throughput=true logger.save_config_filepath=work/model-verification/qwen3.6-35b-a3b/medpix-long-context/resolved-config.yaml
Expected result

The pinned 32-H100 run completed exactly 20 full-SFT steps at TP1/PP4/CP2/EP8/ETP1, dense DP4 and expert DP1, MBS2/GBS512, and 64-way gradient accumulation. It used 8192-token processor-native deferred in-batch packing with pad-to-multiple-of-4, fixed 448-by-448 MedPix images, per-token loss, and one-layer full-uniform activation recompute. The persisted post-setup config confirms every setting. Loss was finite from 1.997653 to 0.997894 with zero skipped or NaN iterations. After the compile-heavy first step, steps 11-20 averaged 36,847.110 ms and 84.830 TFLOP/s/GPU; the process exited successfully.

Long Context · GB300

✓ Verified
Hardware
GB300
Precision
BF16
Last verified
2026-11-16
Recorded metrics
Initial loss
1.998137
Final loss
0.9824696
Step time · last 10 avg
106,054.890 ms
Model throughput · last 10 avg
117.930 TFLOP/s/GPU
Token throughput · last 10 avg
4,943.553 tokens/s/GPU
Exact command
Command
./scripts/training/train.sh --nodes 2 --gpus-per-node 4 --wait --recipe qwen35_vl_35b_a3b_sft_long_context_32gpu_h100_bf16_config --mode sft --dataset medpix --pretrained_checkpoint work/model-verification/qwen3.6-35b-a3b/imported-megatron/iter_0000000 --max_steps 20 --warmup_iters 2 scheduler.lr_decay_iters=20 model.pipeline_model_parallel_size=1 'dataset.source.load_kwargs={revision:69eb219d477ab8699296da1fd6b89beb768042d3}' 'dataset.source.adapter_kwargs={resized_height:448,resized_width:448}' dataset.hf_processor_path=Qwen/Qwen3.6-35B-A3B 'dataset.hf_processor_kwargs={revision:995ad96eacd98c81ed38be0c5b274b04031597b0}' dataset.do_validation=false dataset.seq_length=8192 dataset.enable_in_batch_packing=true dataset.defer_in_batch_packing_to_step=true dataset.in_batch_packing_pad_to_multiple_of=4 checkpoint.load=null checkpoint.save=null validation.eval_iters=0 validation.eval_interval=0 logger.log_interval=1 logger.log_throughput=true logger.save_config_filepath=work/model-verification/qwen3.6-35b-a3b/long_context/resolved-config.yaml
Expected result

Qwen3.6 on eight GB300 GPUs: the command above, loading the card's imported-megatron checkpoint, completed all 20 MedPix-VQA SFT steps at sequence length 8192 with in-batch packing and CP2 active, with finite losses and zero skipped or NaN iterations. The persisted runtime config records TP1/PP1/CP2/EP8/ETP1 and MBS2/GBS512. Metrics average steps 11-20; token-slot throughput uses 8192 times GBS512 per step. Run at this card's Bridge commit on a NeMo nightly base container (2026-11-16). This verifies padded 8K execution with packing and CP, not long-document answer quality or full convergence; no checkpoint was requested for this item.

Supplementary shared-Hybrid-implementation validation only: Qwen/Qwen3.5-35B-A3B, revision 59d61f3ce65a6d9863b86d2e96597125219dc754, NeMo 26.10. These observations do not verify the Qwen3.6 checkpoint. Bridge commit: 3152313c10d1043350edb588c5c87aee9b8389de. Verified on 2026-11-03. Executed Qwen3.5 command(s): ./scripts/training/train.sh –nodes 2 –gpus-per-node 4 –wait –recipe qwen35_vl_35b_a3b_sft_long_context_32gpu_h100_bf16_config –mode sft –dataset medpix –pretrained_checkpoint work/model-verification/qwen3.5-35b-a3b/gpu-megatron/iter_0000000 –max_steps 20 –warmup_iters 2 scheduler.lr_decay_iters=20 model.pipeline_model_parallel_size=1 ‘dataset.source.load_kwargs={revision:69eb219d477ab8699296da1fd6b89beb768042d3}’ ‘dataset.source.adapter_kwargs={resized_height:448,resized_width:448}’ dataset.hf_processor_path=Qwen/Qwen3.5-35B-A3B ‘dataset.hf_processor_kwargs={revision:59d61f3ce65a6d9863b86d2e96597125219dc754}’ dataset.do_validation=false dataset.seq_length=8192 dataset.enable_in_batch_packing=true dataset.defer_in_batch_packing_to_step=true dataset.in_batch_packing_pad_to_multiple_of=4 checkpoint.load=null checkpoint.save=null validation.eval_iters=0 validation.eval_interval=0 logger.log_interval=1 logger.log_throughput=true logger.save_config_filepath=work/model-verification/qwen3.5-35b-a3b/long_context/resolved-config.yaml

Completed all 20 MedPix-VQA SFT steps on eight GB300 GPUs with finite losses and zero skipped or NaN iterations. The H100 long-context recipe was resized to PP1 while retaining its MBS2/GBS512; the persisted runtime config records TP1/PP1/CP2/EP8/ETP1, alltoall dispatch, no CUDA graphs, one-layer full-uniform recompute, and learning rate 2e-5 to 2e-6 with two warmup steps. Qwen’s step-time THD packing pads each example to 8192 slots and preserves separate attention boundaries; CP2 was active throughout. Token-slot throughput uses 8192 times GBS512 per step. Metrics average steps 11-20. This verifies padded 8K execution with packing and CP, not long-document answer quality or full convergence; no checkpoint was requested for this item.

Qwen3.5 observed metrics: {“final_loss”: 1.024277, “initial_loss”: 1.966061, “last_10_steps_model_tflops_per_gpu_avg”: 108.65, “last_10_steps_step_time_ms_avg”: 115083.29, “last_10_steps_tokens_per_second_per_gpu_avg”: 4555.727}.

LoRA · H100

✓ Verified
Hardware
H100
Precision
BF16
Last verified
2026-08-05
Recorded metrics
Initial loss
2.212696
Final loss
1.270382
Step time · last 10 avg
1,714.300 ms
Model throughput · last 10 avg
109.940 TFLOP/s/GPU
Token throughput · last 10 avg
4,778.627 tokens/s/GPU
Exact command
Command
./scripts/training/train.sh –nodes 2 –gpus-per-node 8 –recipe qwen35_vl_35b_a3b_peft_16gpu_h100_bf16_config –dataset medpix –pretrained_checkpoint work/model-verification/qwen3.6-35b-a3b/imported-megatron/iter_0000000 –max_steps 100 –warmup_iters 10 ‘dataset.source.load_kwargs={revision:69eb219d477ab8699296da1fd6b89beb768042d3}’ ‘dataset.source.adapter_kwargs={resized_height:448,resized_width:448}’ dataset.hf_processor_path=Qwen/Qwen3.6-35B-A3B ‘dataset.hf_processor_kwargs={revision:995ad96eacd98c81ed38be0c5b274b04031597b0}’ dataset.do_validation=false dataset.pad_to_max_length=true scheduler.lr_decay_iters=100 model.hf_model_id=Qwen/Qwen3.6-35B-A3B model.bos_token_id=248044 validation.eval_iters=0 validation.eval_interval=0 ddp.check_for_large_grads=true –save_dir work/model-verification/qwen3.6-35b-a3b/peft-support-v5/checkpoints –save_interval 100 logger.log_interval=1 logger.log_throughput=true logger.save_config_filepath=work/model-verification/qwen3.6-35b-a3b/peft-support-v5/resolved-config.yaml
Expected result

The exact 16-H100 command completed all 100 MedPix LoRA steps at TP1/PP2/CP1/EP8/ETP1, MBS1/GBS32, natural expert routing, HybridEP, scoped Transformer Engine CUDA graphs, and no activation recompute. The recipe disables dispatch-backward/expert-wgrad overlap because LoRA-wrapped expert linears do not expose Megatron Core’s backward_dw hook. Loss was finite from 2.212696 to 1.270382 with zero skipped or NaN iterations. Steps 91-100 averaged 1,714.300 ms and 109.940 model TFLOP/s/GPU. The step-100 checkpoint contains 20 nonempty files, including 16 distributed shards, totaling 5,004,722,270 bytes.

LoRA · GB200

✓ Verified
Hardware
GB200
Precision
BF16
Last verified
2026-07-30
Recorded metrics
Initial loss
2.214827
Final loss
1.254138
Step time · last 10 avg
5,511.530 ms
Model throughput · last 10 avg
68.410 TFLOP/s/GPU
Token throughput · last 10 avg
2,972.677 tokens/s/GPU
Exact command
Command
./scripts/training/train.sh --nodes 2 --gpus-per-node 4 --recipe qwen35_vl_35b_a3b_peft_8gpu_gb200_bf16_functional_config --dataset medpix --pretrained_checkpoint work/model-verification/qwen3.6-35b-a3b/imported-megatron/iter_0000000 --max_steps 100 --warmup_iters 10 'dataset.source.load_kwargs={revision:69eb219d477ab8699296da1fd6b89beb768042d3}' 'dataset.source.adapter_kwargs={resized_height:448,resized_width:448}' dataset.hf_processor_path=Qwen/Qwen3.6-35B-A3B 'dataset.hf_processor_kwargs={revision:995ad96eacd98c81ed38be0c5b274b04031597b0}' scheduler.lr_decay_iters=100 model.hf_model_id=Qwen/Qwen3.6-35B-A3B model.bos_token_id=248044 logger.save_config_filepath=work/model-verification/qwen3.6-35b-a3b/gb200-peft/resolved-config.yaml
Expected result

On the same 8x GB200 topology and MedPix schedule as the controlled SFT item, LoRA completed exactly 100 finite steps with zero skipped or NaN iterations. The persisted configs differ only in the evidence-output path, the intended PEFT LR/min-LR, and the LoRA block; model, data, topology, batch, schedule, and safety settings match. Step-1 loss 2.214827 differs from SFT's 2.212866 by only 0.001961, or 0.088618%, ruling out an initial-forward configuration mismatch. The later loss difference reflects LoRA's trainable parameter set and learning rate. Steps 91-100 averaged 5,511.530 ms and 68.410 model TFLOP/s/GPU.

LoRA · GB300

✓ Verified
Hardware
GB300
Precision
BF16
Last verified
2026-11-16
Recorded metrics
Initial loss
2.211639
Final loss
1.275493
Step time · last 10 avg
4,353.950 ms
Model throughput · last 10 avg
86.580 TFLOP/s/GPU
Token throughput · last 10 avg
3,763.020 tokens/s/GPU
Exact command
Command
./scripts/training/train.sh --nodes 2 --gpus-per-node 4 --wait --recipe qwen35_vl_35b_a3b_peft_8gpu_gb200_bf16_functional_config --mode lora --dataset medpix --pretrained_checkpoint work/model-verification/qwen3.6-35b-a3b/imported-megatron/iter_0000000 --max_steps 100 --warmup_iters 10 scheduler.lr_decay_iters=100 'dataset.source.load_kwargs={revision:69eb219d477ab8699296da1fd6b89beb768042d3}' 'dataset.source.adapter_kwargs={resized_height:448,resized_width:448}' dataset.hf_processor_path=Qwen/Qwen3.6-35B-A3B 'dataset.hf_processor_kwargs={revision:995ad96eacd98c81ed38be0c5b274b04031597b0}' env_vars.NUM_OF_TOKENS_PER_CHUNK_COMBINE_API=64 checkpoint.load=null --save_dir work/model-verification/qwen3.6-35b-a3b/peft/checkpoints --save_interval 100 logger.log_interval=1 logger.log_throughput=true logger.save_config_filepath=work/model-verification/qwen3.6-35b-a3b/peft/resolved-config.yaml
Expected result

Qwen3.6 on eight GB300 GPUs: the command above, loading the card's imported-megatron checkpoint, completed all 100 MedPix-VQA LoRA steps with finite losses and zero skipped or NaN iterations, and step 100 saved the adapter checkpoint. The persisted runtime config records TP1/PP1/CP1/EP8/ETP1, sequence length 4096 and MBS1/GBS32. Metrics average steps 91-100; token-slot throughput uses 4096 times GBS32 per step. Run at this card's Bridge commit on a NeMo nightly base container (2026-11-16). This verifies bounded adapter training, not full convergence.

Supplementary shared-Hybrid-implementation validation only: Qwen/Qwen3.5-35B-A3B, revision 59d61f3ce65a6d9863b86d2e96597125219dc754, NeMo 26.10. These observations do not verify the Qwen3.6 checkpoint. Bridge commit: 3152313c10d1043350edb588c5c87aee9b8389de. Verified on 2026-11-03. Executed Qwen3.5 command(s): ./scripts/training/train.sh –nodes 2 –gpus-per-node 4 –wait –recipe qwen35_vl_35b_a3b_peft_8gpu_gb200_bf16_functional_config –mode lora –dataset medpix –pretrained_checkpoint work/model-verification/qwen3.5-35b-a3b/gpu-megatron/iter_0000000 –max_steps 100 –warmup_iters 10 scheduler.lr_decay_iters=100 ‘dataset.source.load_kwargs={revision:69eb219d477ab8699296da1fd6b89beb768042d3}’ ‘dataset.source.adapter_kwargs={resized_height:448,resized_width:448}’ dataset.hf_processor_path=Qwen/Qwen3.5-35B-A3B ‘dataset.hf_processor_kwargs={revision:59d61f3ce65a6d9863b86d2e96597125219dc754}’ env_vars.NUM_OF_TOKENS_PER_CHUNK_COMBINE_API=64 checkpoint.load=null –save_dir work/model-verification/qwen3.5-35b-a3b/peft/checkpoints –save_interval 100 logger.log_interval=1 logger.log_throughput=true logger.save_config_filepath=work/model-verification/qwen3.5-35b-a3b/peft/resolved-config.yaml

Completed all 100 MedPix-VQA LoRA steps on eight GB300 GPUs with finite losses and zero skipped or NaN iterations. The persisted runtime config records TP1/PP1/CP1/EP8/ETP1, sequence length 4096, MBS1/GBS32, natural routing, no CUDA graphs, rank 32, alpha 32, and targets linear_qkv, linear_proj, linear_fc1, and linear_fc2. Learning rate warms up for 10 steps to 2e-4 and decays to 3e-5 at step 100. Step 100 saved all eight distributed adapter/optimizer shards and the checkpoint tracker selects iteration 100. This verifies bounded adapter training, not full convergence.

Qwen3.5 observed metrics: {“final_loss”: 1.313625, “initial_loss”: 2.151638, “last_10_steps_model_tflops_per_gpu_avg”: 77.2, “last_10_steps_step_time_ms_avg”: 4884.42, “last_10_steps_tokens_per_second_per_gpu_avg”: 3354.339}.