Doc: Improve benchmark documentation (#9927)

Signed-off-by: Rafael Vasquez <rafvasq21@gmail.com>
This commit is contained in:
Rafael Vasquez
2024-11-07 02:50:35 -05:00
committed by GitHub
parent 104d729656
commit d7263a1bb8
4 changed files with 38 additions and 27 deletions

View File

@@ -1,5 +1,6 @@
Profiling vLLM
=================================
==============
Profiling vLLM
==============
We support tracing vLLM workers using the ``torch.profiler`` module. You can enable tracing by setting the ``VLLM_TORCH_PROFILER_DIR`` environment variable to the directory where you want to save the traces: ``VLLM_TORCH_PROFILER_DIR=/mnt/traces/``