fp4_dense_qat routes FlashAttention layers through the FP4 training kernel with every key block listed (Q/K NVFP4, P and V BF16, straight-through gradients), matching the FlashAttention-4 NVFP4 deployment; qad.fp4_attention enables it in the Flex profile. check_fp4_attention_parity.py compares it with the real FA4 NVFP4 kernel on a GPU.