Skip to content

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

Performance engineering Remove topic Performance engineering Clear all 195 posts RSS

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

Meta Engineering

How We Built TLX: A Hardware-Native GPU Compiler for Production ML at Scale

Deep dive 17 min +170 XP

Triton Low-Level Extensions (TLX) add explicit warp-group, synchronization, memory and cluster-level orchestration to Triton, so engineers can use Hopper and Blackwell features such as TMA, TMEM, mbarriers and paired-CTA execution without dropping to CUDA.

Week of Nov 2

Faster Retrieval for Better, More Efficient RAG

Research 12 min +120 XP

Maximum inner product search can be amortized by training small neural networks offline on a known query distribution, exploiting the fact that the max-inner-product function is the convex support function of the key set, whose gradient is the best-matching key.

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

Chips and Cheese

“Performance” Oryon: Qualcomm’s Little Core

Deep dive 11 min +110 XP

Qualcomm's Snapdragon X2 Elite "performance" cores are really efficiency cores: a 4-wide, 3.6 GHz out-of-order design that trades peak throughput for lower power while still performing well thanks to solid branch prediction, Zen 4-class reorder buffer and register file sizes, and large, low-latency caches.

Week of Oct 12

Week of Oct 5

Week of Sep 28

Chips and Cheese

Qualcomm’s System Level Architecture in the Snapdragon X2 Elite

Research 9 min +90 XP

Qualcomm's Snapdragon X2 Elite Extreme groups its 18 cores into three 6-core clusters with large shared L2 caches (12 MB E-core, 16 MB per P-core cluster) running at core clock, delivering 20-23 cycle L2 latency, 32B/cycle read and write per core, and sub-20 ns intra-cluster core-to-core latency.

Week of Sep 21

Week of Sep 14

Week of Sep 7

Chips and Cheese

On Binary Translation and its Consequences

Research 13 min +130 XP

Running Geekbench 7's x86-64 build under Windows 11's Prism binary translator roughly doubles executed aarch64 instruction counts and costs several CPU generations' worth of performance, with vectorized AVX workloads like Video Player hit hardest and branch/memory-bound ones like Navigation least.

Week of Aug 24

Meta Engineering

MTIA 300: Meta’s First Training Chip with Built-in NICs and Communication-Offloading Engines

Deep dive 5 min +50 XP

MTIA 300, Meta's in-house training accelerator for recommendation models, integrates two NIC chiplets with twelve 800 Gbps RDMA NICs on-package and adds 16 dedicated message engines, each with a RISC-V core, NIC interface and near-memory reduction block.

The quest for software engineering knowledge.

Look:
Layout: