Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit c02638e

Browse files
authored
[CI/Build] make pip install vllm work in macos (for import only) (vllm-project#8118)
1 parent 652c83b commit c02638e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,8 @@ def get_vllm_version() -> str:
362362
version = find_version(get_path("vllm", "version.py"))
363363

364364
if _no_device():
365-
version += "+empty"
365+
if envs.VLLM_TARGET_DEVICE == "empty":
366+
version += "+empty"
366367
elif _is_cuda():
367368
cuda_version = str(get_nvcc_cuda_version())
368369
if cuda_version != MAIN_CUDA_VERSION:

0 commit comments

Comments
 (0)