You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: inference_lib/src/fp_quant/module/linear.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
7
7
from ..utilsimportFPQuantConfig, FPQuantDtype
8
8
from .linear_fnsimport (
9
+
HAS_QUTLASS,
9
10
FPQuant4x16MasterFn,
10
11
FPQuant4x16NoMasterFn,
11
12
forward_quantize,
@@ -35,6 +36,11 @@ def __init__(
35
36
):
36
37
super().__init__()
37
38
39
+
ifnotHAS_QUTLASSandnotconfig.pseudoquantization:
40
+
raiseValueError(
41
+
"QuTLASS is not installed. Can only run with `pseudoquantization=True` in the quantization config. If you have a Blackwell GPU, you can install QuTLASS from https://github.com/IST-DASLab/QuTLASS"
0 commit comments