← 返回事件
持续讨论AI发版19.44

viable/strict/1789757464: [Windows] Fix FlashAttention CUDA build with MSVC C++20 (#197382)

图:PyTorch Releases

发生了什么

Summary Follow-up to #186343 , which enables the native FlashAttention SDPA backend for Windows CUDA builds. MSVC implicitly enables /permissive- when compiling as C++20 with CTK13.4. This triggers a CUTLASS/CuTe template parsing failure ( C3545 ) while compiling the FlashAttention CUDA kernels. Pass /permissive only to CUDA sources in the flash_attention target, leaving conformance settings for the rest of PyTorch…

摘要按规则整理自下方来源原文

为什么在扩散

来源