Skip to content

Commit b82be66

Browse files
committed
Fix windows
Signed-off-by: Chenjie Luo <[email protected]>
1 parent 231f7bd commit b82be66

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modelopt/torch/quantization/backends/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515

1616
"""Quantization backends."""
1717

18-
from .fp8_per_tensor_gemm import *
18+
import platform
19+
20+
if platform.system() != "Windows":
21+
from .fp8_per_tensor_gemm import *
1922
from .gemm_registry import *
2023
from .nvfp4_gemm import *

0 commit comments

Comments
 (0)