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
34962746
Unverified
Commit
34962746
authored
Aug 22, 2025
by
Ning Xie
Committed by
GitHub
Aug 21, 2025
Browse files
[Misc] Convert VLLM_TORCH_PROFILER_DIR path to absolute (#23191)
Signed-off-by:
Andy Xie
<
andy.xning@gmail.com
>
parent
8a193031
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/envs.py
vllm/envs.py
+2
-1
No files found.
vllm/envs.py
View file @
34962746
...
@@ -673,7 +673,8 @@ environment_variables: dict[str, Callable[[], Any]] = {
...
@@ -673,7 +673,8 @@ environment_variables: dict[str, Callable[[], Any]] = {
# Note that it must be an absolute path.
# Note that it must be an absolute path.
"VLLM_TORCH_PROFILER_DIR"
:
"VLLM_TORCH_PROFILER_DIR"
:
lambda
:
(
None
if
os
.
getenv
(
"VLLM_TORCH_PROFILER_DIR"
,
None
)
is
None
else
os
lambda
:
(
None
if
os
.
getenv
(
"VLLM_TORCH_PROFILER_DIR"
,
None
)
is
None
else
os
.
path
.
expanduser
(
os
.
getenv
(
"VLLM_TORCH_PROFILER_DIR"
,
"."
))),
.
path
.
abspath
(
os
.
path
.
expanduser
(
os
.
getenv
(
"VLLM_TORCH_PROFILER_DIR"
,
"."
)))),
# Enable torch profiler to record shapes if set
# Enable torch profiler to record shapes if set
# VLLM_TORCH_PROFILER_RECORD_SHAPES=1. If not set, torch profiler will
# VLLM_TORCH_PROFILER_RECORD_SHAPES=1. If not set, torch profiler will
...
...
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