"ssh:/git@developer.sourcefind.cn:2222/OpenDAS/vllm_cscc.git" did not exist on "b34474bf2c207f2a7f08f6c830c71c3f85c82630"
Unverified Commit 9b67338b authored by TJian's avatar TJian Committed by GitHub
Browse files

[Bugfix] Suppress log on non-ROCm platform (#32703)


Signed-off-by: default avatartjtanaa <tunjian.tan@embeddedllm.com>
parent 22613408
...@@ -154,10 +154,11 @@ try: ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment