[platform] fix: set UnspecifiedOmniPlatform device_type to cpu (#4357)

Signed-off-by: samithuang <285365963@qq.com>
This commit is contained in:
Samit authored and GitHub committed 2026-06-12 08:40:00 +00:00
1 parent 8f869c8ea5
commit f44f3ef9f7
1 file changed
+1 -1
+1 -1
View File
@@ -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: