Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
c02638ef
Unverified
Commit
c02638ef
authored
Sep 03, 2024
by
tomeras91
Committed by
GitHub
Sep 03, 2024
Browse files
[CI/Build] make pip install vllm work in macos (for import only) (#8118)
parent
652c83b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
setup.py
setup.py
+2
-1
No files found.
setup.py
View file @
c02638ef
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment