Skip to content

Commit

Permalink
make the code more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
tomeras91 committed Sep 3, 2024
1 parent 534e75c commit dd4a388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def get_vllm_version() -> str:
version = find_version(get_path("vllm", "version.py"))

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

0 comments on commit dd4a388

Please sign in to comment.