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
57393715
Unverified
Commit
57393715
authored
Aug 02, 2025
by
Nicolò Lucchesi
Committed by
GitHub
Aug 01, 2025
Browse files
[Misc] `VLLM_TARGET_DEVICE.lower()` (#22101)
Signed-off-by:
NickLucche
<
nlucches@redhat.com
>
parent
ee2eb6ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/envs.py
vllm/envs.py
+1
-1
No files found.
vllm/envs.py
View file @
57393715
...
@@ -213,7 +213,7 @@ environment_variables: dict[str, Callable[[], Any]] = {
...
@@ -213,7 +213,7 @@ environment_variables: dict[str, Callable[[], Any]] = {
# Target device of vLLM, supporting [cuda (by default),
# Target device of vLLM, supporting [cuda (by default),
# rocm, neuron, cpu]
# rocm, neuron, cpu]
"VLLM_TARGET_DEVICE"
:
"VLLM_TARGET_DEVICE"
:
lambda
:
os
.
getenv
(
"VLLM_TARGET_DEVICE"
,
"cuda"
),
lambda
:
os
.
getenv
(
"VLLM_TARGET_DEVICE"
,
"cuda"
)
.
lower
()
,
# Maximum number of compilation jobs to run in parallel.
# Maximum number of compilation jobs to run in parallel.
# By default this is the number of CPUs
# By default this is the number of CPUs
...
...
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