fix SUPPORT_CUTLASS_BLOCK_FP8 flag (#4640)

This commit is contained in:
Cheng Wan authored and GitHub committed 2025-03-20 21:45:07 -07:00
1 parent ad4e58bf67
commit 7b5fc71972
1 file changed
+1 -1
@@ -82,7 +82,7 @@ def normalize_e4m3fn_to_e4m3fnuz(
def cutlass_block_fp8_supported() -> bool:
if get_bool_env_var("SUPPORT_CUTLASS_BLOCK_FP8"):
if not get_bool_env_var("SUPPORT_CUTLASS_BLOCK_FP8"):
return False
if _is_cuda:
major, minor = torch.cuda.get_device_capability()