From 9eec52842ff6c2fb09cf369c96058a16ef1fcd8b Mon Sep 17 00:00:00 2001 From: "Kevin H. Luu" Date: Tue, 21 Jan 2025 11:46:50 -0800 Subject: [PATCH] Update __init__.py --- vllm/platforms/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/platforms/__init__.py b/vllm/platforms/__init__.py index d20d35199bf5c..ddbdc43ca5710 100644 --- a/vllm/platforms/__init__.py +++ b/vllm/platforms/__init__.py @@ -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")