Tracking follow-ups from PR #2817. Detailed implementation notes are already in code comments / xfails.
Recipe / validation
Performance
TP/SP
FSDP2
GEMM / quantization
GroupedLinear / grouped storage
Distributed optimizer / Megatron
Activation recompute
Validation
Tracking follow-ups from PR #2817. Detailed implementation notes are already in code comments / xfails.
Recipe / validation
HybridQuantizer._get_compatible_recipe()intransformer_engine/pytorch/tensor/hybrid_tensor.py.HybridQuantizer.HybridQuantizer.__init__()in `transformer_engine/pytorch/tensor/hybrid_tensor.pyPerformance
columnwise_source="rowwise_dequantized".TP/SP
gather_along_first_dim.HybridQuantizer.supports_only_rowwise_all_gather()intransformer_engine/pytorch/tensor/hybrid_tensor.py.set_meta_tensor()comments in:transformer_engine/pytorch/module/linear.pytransformer_engine/pytorch/module/layernorm_linear.pytransformer_engine/pytorch/module/layernorm_mlp.pyFSDP2
HybridQuantizedTensor.fsdp_pre_all_gather()intransformer_engine/pytorch/tensor/hybrid_tensor.py.HybridFloat8BlockScalingFSDP2 xfail._HYBRID_FLOAT8_BLOCK_FSDP2_XFAIL_REASONintests/pytorch/distributed/fsdp2_tests/conftest.py.TestHybridFsdpPreAllGatherProtocol.test_nvfp4_sub_storage_raises_on_pre_all_gather()intests/pytorch/test_hybrid_quantization.py.GEMM / quantization
HybridQuantizer/IdentityQuantizeras GEMM output quantizers._reject_unsupported_output_quantizer()intransformer_engine/pytorch/cpp_extensions/gemm.py.GroupedLinear / grouped storage
IdentityQuantizerandHybridQuantizerwithGroupedLinear(single_grouped_weight=True).Distributed optimizer / Megatron
quantize_master_weights._route_hybrid_to_buckets()intransformer_engine/pytorch/tensor/utils.py.TestHybridQuantizeMasterWeightsintests/pytorch/test_hybrid_quantization.py.quantized_model_init + --fp{4,8}-param-gather + dist opt.--fp{4,8}-param-gather.--fp{4,8}-param-gather.tests/pytorch/distributed/fsdp2_tests/.Activation recompute
torch.utils.checkpoint(use_reentrant=False)with TE weight-workspace cache.TestHybridActivationRecomputeintests/pytorch/test_hybrid_quantization.py.te.checkpointpath is already covered and works.Validation