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.

SKILL.mda7df32cf6087
Loading supporting files

Comments: 0

Be the first to comment

Share what worked or leave a question for the creator.

Log in to comment

microsoft/onnxruntime · MIT · Revision a7df32cf6087

ai machine-learning