Blog

Long-form writing from turingfold on inference engineering: explainers, opinions and notes on serving AI models in production.

4 min read

The CPU budget behind every generated token

A GPU step depends on scheduling and request-state work around it. Overlap helps only when that work can stay ahead of the device.

  • Scheduling
  • CPU overhead
  • Performance
4 min read

Quantization needs two benchmarks

A quantized model can serve more requests without making one request much faster. Separate execution gains from capacity gains before judging it.

  • Quantization
  • Performance
  • Evaluation
4 min read

Cache locality versus load balance in LLM serving

A warm replica can save prefill work and still make a request wait longer. A simple latency budget explains when cache affinity should give way.

  • Routing
  • Prefix caching
  • Distributed inference
4 min read

Chunked prefill is a latency allocation policy

A prefill token budget determines how new prompts share execution with active generations. Tuning it decides where users spend their waiting time.

  • Scheduling
  • Prefill
  • Latency
4 min read

Determinism belongs in the inference stack

Greedy outputs can change when batch composition changes. Trace the first divergence, then define the reproducibility guarantee your service needs.

  • Reproducibility
  • Evaluation
  • Numerical accuracy
4 min read

The real capacity of an inference server

Model fit, active-sequence capacity, and sustainable request rate are different limits. A memory budget is only the start of capacity planning.

  • Capacity planning
  • KV cache
  • Latency
TURINGFOLD / RESEARCH