"vscode:/vscode.git/clone" did not exist on "4965ec42d28830f0c30756dea19e14b45cdbe5b1"
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,6 +154,7 @@ try: ...@@ -154,6 +154,7 @@ try:
dispatch_key=current_platform.dispatch_key, dispatch_key=current_platform.dispatch_key,
) )
except (ImportError, AttributeError, RuntimeError): except (ImportError, AttributeError, RuntimeError):
if current_platform.is_rocm():
logger.warning( logger.warning(
"AITER is not found or QuarkOCP_MX is not supported on the current " "AITER is not found or QuarkOCP_MX is not supported on the current "
"platform. QuarkOCP_MX quantization will not be available." "platform. QuarkOCP_MX quantization will not be available."
......
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