From f44f3ef9f7dc4609b52861fc1d85809b026361f9 Mon Sep 17 00:00:00 2001 From: Samit <285365963@qq.com> Date: Fri, 12 Jun 2026 16:40:00 +0800 Subject: [PATCH] [platform] fix: set UnspecifiedOmniPlatform device_type to cpu (#4357) Signed-off-by: samithuang <285365963@qq.com> --- vllm_omni/platforms/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm_omni/platforms/interface.py b/vllm_omni/platforms/interface.py index c1660ccb7..14aa93b20 100644 --- a/vllm_omni/platforms/interface.py +++ b/vllm_omni/platforms/interface.py @@ -241,7 +241,7 @@ class OmniPlatform(Platform): class UnspecifiedOmniPlatform(OmniPlatform): _omni_enum = OmniPlatformEnum.UNSPECIFIED _enum = PlatformEnum.UNSPECIFIED - device_type = "" + device_type = "cpu" @classmethod def get_device_count(cls) -> int: