From c20d43d2e630a4647e8043ade0a97fe9bbb44ee2 Mon Sep 17 00:00:00 2001 From: Mick Date: Sat, 13 Dec 2025 23:15:23 +0800 Subject: [PATCH] [diffusion] doc: update profiling.md with output location details (#15072) --- python/sglang/multimodal_gen/docs/profiling.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/python/sglang/multimodal_gen/docs/profiling.md b/python/sglang/multimodal_gen/docs/profiling.md index 13cdc3d03..58a72f5fc 100644 --- a/python/sglang/multimodal_gen/docs/profiling.md +++ b/python/sglang/multimodal_gen/docs/profiling.md @@ -42,12 +42,11 @@ sglang generate \ ### Output Location -Trace files are saved to the `./logs/` directory by default. The file name format depends on the profiling mode: +By default, trace files are saved in the ./logs/ directory. The exact output file path will be shown in the console output, for example: -- **Denoising Stage Profiling**: `{request_id}-{num_steps}_steps-global-rank{rank}.trace.json.gz` -- **Full Pipeline Profiling**: `{request_id}-full_stages-global-rank{rank}.trace.json.gz` - -Example: `mocked_fake_id_for_offline_generate-5_steps-global-rank0.trace.json.gz` +```bash +[mm-dd hh:mm:ss] Saving profiler traces to: /sgl-workspace/sglang/logs/mocked_fake_id_for_offline_generate-5_steps-global-rank0.trace.json.gz +``` ### View Traces