generate-profile
Installation
SKILL.md
Generate an E2E Profile of an SGLang Server Run
This skill launches an SGLang server, validates it with a quick accuracy test, generates a profiling trace, and returns the profile file path.
Prerequisites
- A working SGLang installation (
pip install -e .or equivalent) - At least one available CUDA GPU
Step-by-step Workflow
Step 1: Launch the server
CUDA_VISIBLE_DEVICES=<gpu_id> sglang serve --model-path <model> --port <port> &