[XPU] log clean up for XPU platform (#20553)
Signed-off-by: yan <yan.ma@intel.com>
This commit is contained in:
+2
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user