[Bugfix] Suppress log on non-ROCm platform (#32703)
Signed-off-by: tjtanaa <tunjian.tan@embeddedllm.com>
This commit is contained in:
@@ -154,10 +154,11 @@ try:
|
|||||||
dispatch_key=current_platform.dispatch_key,
|
dispatch_key=current_platform.dispatch_key,
|
||||||
)
|
)
|
||||||
except (ImportError, AttributeError, RuntimeError):
|
except (ImportError, AttributeError, RuntimeError):
|
||||||
logger.warning(
|
if current_platform.is_rocm():
|
||||||
"AITER is not found or QuarkOCP_MX is not supported on the current "
|
logger.warning(
|
||||||
"platform. QuarkOCP_MX quantization will not be available."
|
"AITER is not found or QuarkOCP_MX is not supported on the current "
|
||||||
)
|
"platform. QuarkOCP_MX quantization will not be available."
|
||||||
|
)
|
||||||
dynamic_mxfp4_quant = gemm_afp4wfp4 = None
|
dynamic_mxfp4_quant = gemm_afp4wfp4 = None
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user