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 Sep 3, 2024
1 parent 652c83b commit c02638e
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 c02638e

Please sign in to comment.