Cuda Cutlass Fmha Incremental Rebuild

Use when rebuilding ONNX Runtime CUDA after editing CUTLASS fused-MHA headers (onnxruntime/contrib_ops/cuda/bert/cutlass_fmha/*.h such as kernel_forward.h or fmha_launch_template.h), or when a header edit "passed" an incremental build but test behavior did not change. Explains the nvcc depfile gotcha that produces stale Memory-Efficient-Attention (MEA) kernels and binaries, and how to force a correct recompile. Also covers disk-space frugality on shared GPU dev boxes.

Microsoft Updated 2.7k repo stars

File contents

microsoft/onnxruntime/tree/main/.github/skills/cuda-cutlass-fmha-incremental-rebuild commit ba1c97662e

Frequently asked questions

npx skillmds@latest add microsoft/cuda-cutlass-fmha-incremental-rebuild