Unverified Commit c02638ef authored by tomeras91's avatar tomeras91 Committed by GitHub
Browse files

[CI/Build] make pip install vllm work in macos (for import only) (#8118)

parent 652c83b6
...@@ -362,7 +362,8 @@ def get_vllm_version() -> str: ...@@ -362,7 +362,8 @@ def get_vllm_version() -> str:
version = find_version(get_path("vllm", "version.py")) version = find_version(get_path("vllm", "version.py"))
if _no_device(): if _no_device():
version += "+empty" if envs.VLLM_TARGET_DEVICE == "empty":
version += "+empty"
elif _is_cuda(): elif _is_cuda():
cuda_version = str(get_nvcc_cuda_version()) cuda_version = str(get_nvcc_cuda_version())
if cuda_version != MAIN_CUDA_VERSION: if cuda_version != MAIN_CUDA_VERSION:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment