trunk/29c701469ca2df4605194613ca70f3bba41e4abe: Enable FA build for SDPA on Windows+CUDA (#186343)
- PyTorch: 1080 events in the last 90 days
- PyTorch: 1067th Release in the last 90 days
- Previous: earlier the same day · trunk/2cc0d6672053b69bfff0492a788ad6ad58b02479
What happened
Summary Description Enable building the FlashAttention backend for scaled_dot_product_attention on Windows + CUDA (MSVC). Today, the flag is hard-disabled on MSVC, so every Windows CUDA build ships without the flash SDPA backend and silently falls back to slower, memory-heavy backends. With this PR, the FlashAttention kernels now build cleanly under modern MSVC, which restores the fast path. Why this matters On Wind…
Summary assembled by rule from the sources below