Why is your LLM slow while the GPU is idle?
Separate the wait for the first token from generation speed. Queueing and prompt processing can delay the first token. Check offloaded layers and memory bandwidth when generation is slow.
Find the latency bottleneckWhat to check
-
Request path
Measure queueing, prompt processing and generation separately after warm-up.
-
Resource use
Verify GPU layer placement and record CPU, GPU and memory use over the same interval.
What to include in your email
- Engine and model
- GPU, CPU and RAM
- First-token time and tokens/s