Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics AI & ML

Inference & serving

Serving models: batching, KV cache, quantization, GPU efficiency.

Search within Inference & serving, or combine it with other topics →

Last week

Hugging Face

Hill-climbing Inkling 2 Mini inference on one RTX PRO 6000

Case study 9 min +90 XP

Agent-driven tuning of Inkling 2 Mini, a looped 26B-total/3B-active MoE, on a single RTX PRO 6000 raised single-user decode from 136 to 190.6 tok/s (+40%) and 8-user throughput from ~570 to 716 tok/s by switching from SGLang to vLLM nightly and enabling DSpark speculative decoding with 7 drafts and probabilistic draft sampling.

Week of Nov 16

Hugging Face

180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers

Case study 11 min +110 XP

Streaming MoE experts from SSD through a bounded device-side slot pool lets Transformers run Qwen3.8-Flash-Next (121 GB of experts) on a 32 GB MacBook M5 at ~13.9 tok/s, within 6% of the specialized Strata engine on decode and slightly faster on prefill.

Week of Nov 9

Weighted State Souping for Efficient Long-Context Retrieval

Research 1 min +10 XP

Weighted state souping learns query-dependent weights for combining independently encoded, cached SSM states for chunks like documents, tool definitions or memory records, fixing the degradation that plain state souping and vanilla SSMs show on long, crowded contexts.

Week of Nov 2

Week of Oct 26

Meta Engineering

Meta Andromeda: Powering the Next Generation of Ads Retrieval Through Model-System Co-Design

Case study 11 min +110 XP

Meta's next-generation Andromeda ads retrieval engine co-designs model, system and GPU hardware to score every eligible ad with near ranking-level quality at over one billion ads per second per GPU server, a 100x lift over the 2024 system.

Week of Oct 19

Week of Oct 12

Advancing Generative Recommendation Inference: our collaboration with NVIDIA on TensorRT LLM

Case study 7 min +70 XP

Spotify consolidated its LLM-based generative recommendation inference onto TensorRT LLM, working with NVIDIA to add the features it had been splitting across engines. vLLM handled beam search for semantic-ID candidate generation, but its beam search runs outside the core GPU engine and recomputes partially filled KV blocks.

Netflix TechBlog

Integrating Netflix’s Foundation Model into Personalization applications

Case study 7 min +70 XP

Netflix integrates its transformer-based personalization Foundation Model into production through three patterns: precomputed embeddings, embedding the model as a subgraph of downstream models, and fine-tuning it to power products directly.

Meta Engineering

Meta’s Generative Ads Model (GEM): Scaling the Central Model and Compute Engine for Frontier Ads AI

Case study 14 min +140 XP

Meta's 2026 GEM replaces per-surface ads ranking models with a single central recommendation foundation model trained across Facebook, Instagram, Reels and deep-funnel conversion objectives, reporting 18.9% conversion and 12% CTR gains.

Week of Sep 21

Week of Sep 14

Week of Sep 7

Week of Aug 31

Week of Aug 24

Week of Aug 17

Week of Aug 3

Week of Jul 27

Together AI

ThunderAgent: 2x Faster Agentic Inference for Synthetic Data Generation at Scale

Research 6 min +60 XP

ThunderAgent is a scheduling layer between agent clients and inference backends that treats each multi-turn agentic workflow as a schedulable program instead of independent requests, preventing KV cache thrashing when agents pause for tool calls.

Week of Jul 20

Week of Jul 13

Week of Jul 6

Week of Jun 29

Week of Jun 22

Week of Jun 15

Week of Jun 8

The quest for software engineering knowledge.

Look:
Layout: