Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
khluu authored Jan 21, 2025
1 parent 6217c1f commit 9eec528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/platforms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def cpu_platform_plugin() -> Optional[str]:
try:
from importlib.metadata import version
is_cpu = "cpu" in version("vllm")
if is_cpu == False:
if not is_cpu:
import platform
is_cpu = platform.machine().lower().startswith("arm")

Expand Down

0 comments on commit 9eec528

Please sign in to comment.