Skip to content

Commit

Permalink
[CI/Build] make pip install vllm work in macos (for import only) (vll…
Browse files Browse the repository at this point in the history
  • Loading branch information
tomeras91 authored and dsikka committed Sep 5, 2024
1 parent 65e553f commit a0e6999
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ def get_vllm_version() -> str:
version = find_version(get_path("vllm", "version.py"))

if _no_device():
version += "+empty"
if envs.VLLM_TARGET_DEVICE == "empty":
version += "+empty"
elif _is_cuda():
cuda_version = str(get_nvcc_cuda_version())
if cuda_version != MAIN_CUDA_VERSION:
Expand Down

0 comments on commit a0e6999

Please sign in to comment.