Skip to main content

Slow Inference Performance

When experiencing slow inference times, first establish a performance baseline. Use the VRAM Calculator to determine your GPU’s expected throughput and compare it against your model specifications. Zylon provides a benchmarking script that simulates concurrent inference requests to measure Time To First Token (TTFT), latency, and throughput. This can help identify if performance is below expectations and whether it degrades under load.
Zylon allocates compute resources to maintain consistent response times under concurrent load (8-10 simultaneous users). This means single-inference benchmarks may show lower tokens/s than the hardware’s theoretical maximum, but real-world performance with multiple users will meet or exceed expectations.
Update BASE_URL, BEARER_TOKEN, and MODEL in the script, then run it to measure TTFT, throughput, and latency under different concurrency levels. Compare your results against the theoretical maximum from the VRAM calculator to identify if performance is below expectations.