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
fc93e561
Unverified
Commit
fc93e561
authored
Aug 15, 2024
by
Woosuk Kwon
Committed by
GitHub
Aug 15, 2024
Browse files
[Bugfix][TPU] Correct env variable for XLA cache path (#7544)
parent
22b39e11
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 @
fc93e561
...
@@ -334,7 +334,7 @@ environment_variables: Dict[str, Callable[[], Any]] = {
...
@@ -334,7 +334,7 @@ environment_variables: Dict[str, Callable[[], Any]] = {
"VLLM_XLA_CACHE_PATH"
:
"VLLM_XLA_CACHE_PATH"
:
lambda
:
os
.
path
.
expanduser
(
lambda
:
os
.
path
.
expanduser
(
os
.
getenv
(
os
.
getenv
(
"VLLM_
ASSETS
_CACHE"
,
"VLLM_
XLA
_CACHE
_PATH
"
,
os
.
path
.
join
(
get_default_cache_root
(),
"vllm"
,
"xla_cache"
),
os
.
path
.
join
(
get_default_cache_root
(),
"vllm"
,
"xla_cache"
),
)),
)),
"VLLM_FUSED_MOE_CHUNK_SIZE"
:
"VLLM_FUSED_MOE_CHUNK_SIZE"
:
...
...
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