[XPU] log clean up for XPU platform (#20553)

Signed-off-by: yan <yan.ma@intel.com>
This commit is contained in:
Yan Ma
2025-07-07 01:38:22 -07:00
committed by GitHub
parent 1fd471e957
commit 3112271f6e
2 changed files with 4 additions and 4 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ from vllm.scalar_type import ScalarType
logger = init_logger(__name__)
if not current_platform.is_tpu() and not current_platform.is_hpu():
if not current_platform.is_tpu() and not current_platform.is_hpu()\
and not current_platform.is_xpu():
try:
import vllm._C
except ImportError as e: