[diffusion] doc: update profiling.md with output location details (#15072)

This commit is contained in:
Mick
2025-12-13 23:15:23 +08:00
committed by GitHub
parent d977dd2e07
commit c20d43d2e6

View File

@@ -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