We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25eeb04 commit fddcc3bCopy full SHA for fddcc3b
vllm/platforms/__init__.py
@@ -160,11 +160,11 @@ def cpu_platform_plugin() -> Optional[str]:
160
logger.debug("Confirmed CPU platform is available because"
161
" vLLM is built with CPU.")
162
if not is_cpu:
163
- import platform
164
- is_cpu = platform.machine().lower().startswith("arm")
+ import sys
+ is_cpu = sys.platform.startswith("darwin")
165
if is_cpu:
166
logger.debug("Confirmed CPU platform is available"
167
- " because the machine is ARM.")
+ " because the machine is MacOS.")
168
169
except Exception as e:
170
logger.debug("CPU platform is not available because: %s", str(e))
0 commit comments