TLDRocket
Sign in

Inference Optimization

30 summarised stories about Inference Optimization, each linking back to the original source. Browse all topics →

Wednesday, 16 April 2025

Prefill and Decode for Concurrent Requests - Optimizing LLM Performance

Hugging Face Blog 1 year ago

Researchers at TNG analyzed how to handle multiple concurrent requests on language models by separating token generation into prefill (processing all prompt tokens in parallel) and decode (generating output tokens sequentially). Their self-hosted cluster of 24 H100 GPUs handles over 5,000 inferences per hour and generates more than ten million tokens daily across 50 applications. The choice between prefill-first scheduling (minimizes time to first token but interrupts ongoing generations) and chunked prefill (balances latency and throughput by processing prompts in segments) determines whether systems optimize for user experience or total token output.

Cohere on Hugging Face Inference Providers 🔥

Hugging Face Blog 1 year ago

Cohere became the first model creator to serve its models directly on Hugging Face Hub as a supported Inference Provider. The Command A model offers 256k context length, double that of most competing models, while supporting 23 languages with enterprise-grade security features including retrieval-augmented generation with verifiable citations. Users can now run serverless inference on nine Cohere and Cohere Labs models through the Hub's website UI or client SDKs using standard Cohere API pricing with no additional markup.