Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions qa/L1_pytorch_mcore_fsdp_integration/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@

set -e

# This test uses the MXFP8 recipe (--fp8-recipe mxfp8), which is only supported
# on Blackwell (compute capability 10.0) and newer.
DEVICE_ARCH_RAW=$(nvidia-smi --query-gpu=compute_cap --format=csv,noheader | head -n 1)
DEVICE_ARCH=$(echo "${DEVICE_ARCH_RAW}" | sed 's/[^0-9]//g')
if [[ -z "${DEVICE_ARCH}" || ${DEVICE_ARCH} -lt 100 ]]; then
echo "Skipping L1_pytorch_mcore_fsdp_integration: MXFP8 requires compute capability 10.0+ (Blackwell), detected compute_cap=${DEVICE_ARCH_RAW:-unknown}."
exit 0
fi

# Megatron-LM / Megatron-FSDP commit for main branch on Apr. 10, 2026.
# Necessary to support wgrad accumulate fusion and Megatron-FSDP NCCL UBR,
# and fixes decoupled_grad <> DistOpt usage in Megatron-LM.
Expand Down
Loading