Estimate GPU memory, latency & throughput for popular open-weight models
2 × layers × kv_heads × head_dim × 2 bytes.
2 × active_params / GPU_TFLOPS. This is the
time to process each input token.2 × active_params / bandwidth × 1000 ms.
prefill_time + TPOT/1000.(input × prefill_time + output × TPOT) / 1000 s.output_tokens / E2E_latency (single-request output token rate).