[CI/Build] make pip install vllm work in macos (for import only) (#8118)
This commit is contained in:
parent
652c83b697
commit
c02638efb3
3
setup.py
3
setup.py
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user