[Fix] [NVIDIA] jit: Build sm_100f on CC 10.7 until the bundled CUTLASS supports SM107 (#45911)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
8d47d515e4
commit
5849ff5337
@@ -119,6 +119,11 @@ def _init_jit_cuda_arch_once():
|
||||
suffix = _sail_arch_suffix(major, minor)
|
||||
else:
|
||||
suffix = _cuda_arch_suffix(major, minor)
|
||||
if (major, minor) == (10, 7):
|
||||
from flashinfer.compilation_context import cutlass_supports_sm107
|
||||
|
||||
if not cutlass_supports_sm107():
|
||||
major, minor, suffix = 10, 0, "f"
|
||||
|
||||
_CUDA_ARCH = ArchInfo(major, minor, suffix)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user