Skip to content

Commit 711f485

Browse files
authored
[Bugfix] Fix import gemm_afp4wfp4 failure on AMD (vllm-project#26068)
Signed-off-by: zhewenli <[email protected]>
1 parent 9c5ee91 commit 711f485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/model_executor/layers/quantization/quark/schemes/quark_w4a4_mxfp4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def gemm_with_dynamic_quant_fake(
9797
dispatch_key=current_platform.dispatch_key,
9898
)
9999

100-
except ImportError:
100+
except (ImportError, AttributeError):
101101
dynamic_mxfp4_quant = gemm_afp4wfp4 = None
102102

103103
__all__ = ["QuarkW4A4MXFP4"]

0 commit comments

Comments
 (0)