Skip to content

CICD-451 · Inter-token latency benchmarking ​

Encyclopedia · GPU and inference infrastructure · All snippets

Previous · CICD-450 · Next · CICD-452

1. Where it fits ​

  • Placement CI benchmark report step.
  • Prerequisites dedicated GPU lab, approved images and model revision, fixed benchmark profile.
  • Platforms local-linux, github-actions, gitea-actions.

2. Copy the snippet ​

bash
jq -e '{p50_ms:.median_itl_ms,p99_ms:.p99_itl_ms} | select(.p50_ms != null and .p99_ms != null)' ttft.json

3. How it works ​

The report collects inter-token arrival percentiles after streaming starts. Values depend on how the engine and benchmark version expose token timing.

4. Verify the result ​

Configure ITL percentiles in CICD-450 and check the benchmark version's JSON schema. ITL concerns successive streamed token arrivals.

Validation version-dependent (Bash parse). Status definitions.