A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 14, 05:30 UTC
[Misc] Convert VLLM_TORCH_PROFILER_DIR path to absolute (#23191)
Signed-off-by: Andy Xie <andy.xning@gmail.com>
Ning Xie committed
Aug 22, 2025 at 03:49 UTC
3496274663d3c442446b4f5000af006cc28d715c
1 file changed
+2
-1
vllm/envs.py
+2
-1
@@ -673,7 +673,8 @@ environment_variables: dict[str, Callable[[], Any]] = {
673
# Note that it must be an absolute path.
674
"VLLM_TORCH_PROFILER_DIR":
675
lambda: (None if os.getenv("VLLM_TORCH_PROFILER_DIR", None) is None else os
676
- .path.expanduser(os.getenv("VLLM_TORCH_PROFILER_DIR", "."))),
676
+ .path.abspath(os.path.expanduser(os.getenv(
677
+ "VLLM_TORCH_PROFILER_DIR", ".")))),
678
679
# Enable torch profiler to record shapes if set
680
# VLLM_TORCH_PROFILER_RECORD_SHAPES=1. If not set, torch profiler will