Skip to content

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

Hardware Remove topic Hardware Clear all 98 posts RSS

Last week

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

Asahi Linux

Progress Report: Linux 7.3

Release 14 min +140 XP

Asahi Linux's 7.3-cycle report covers upstream submission of the macaudio and AVD (~13,000 lines) drivers, initial M4 Pro/Max and M5 Devicetrees, and M3 support going generally available with DCP enabling sleep and the notch area. m1n1 now runs three EL1 VMs (macOS, SPTM, and the Secure Kernel with Exclaves) to reverse engineer M5 macOS.

Writing a DSL for high performance parallel programming in OxCaml

Deep dive 17 min +170 XP

A Jane Street intern built a JIT compiler for an SPMD-style DSL in OxCaml so SIMD kernels for options pricing and risk checks can be written once as ordinary-looking OxCaml functions instead of architecture-specific C intrinsics.

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.

Together AI

To Infinity and Beyond: ThunderKittens Now on NVIDIA Vera Rubin NVL72!

Deep dive 11 min +110 XP

ThunderKittens adds support for five Vera Rubin GEMM features: a doubled 64-byte K step in tcgen05.mma, 576-column exclusive tensor memory, 328 KiB oversized shared memory, a B-side collector buffer, and early A-operand release via tcgen05.commit.sync_restrict.

Week of Aug 31

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.

Week of Aug 3

Meta Engineering

GEM Training: How Meta Doubled the Efficiency of Its LLM-Scale Ads Foundation Model

Case study 21 min +210 XP

Meta doubled end-to-end training efficiency of GEM, its LLM-scale ads recommendation foundation model, to 20–25% MFU while scaling training FLOPs 4x in a year, by co-designing kernels, precision, parallelism, networking and memory.

Week of Jul 27

Week of Jul 20

Week of Jun 29

OpenAI

Core dump epidemiology: fixing an 18-year-old bug

Case study 16 min +160 XP

Mysterious return-to-bogus-address crashes in Rockset's C++ execution layer turned out to be two unrelated bugs: silent register corruption on a single bad Azure host, and an 18-year-old race in GNU libunwind's _Ux86_64_setcontext, which read the synthesized ucontext_t after moving %rsp past it, letting a frequent SIGUSR2 CPU-time signal clobber it during exception unwinding.

Week of Jun 22

Week of Jun 8

Modal

Making FlashAttention-4 faster for inference

Deep dive 14 min +140 XP

Modal engineers extended the FlashAttention-4 kernel for decode-heavy LLM inference on Blackwell GPUs through two kinds of change: new parallelism strategies, such as split-KV parallelism across the key/value dimension, and support for irregular memory access via cp.async in place of TMA bulk loads.

Week of Jun 1

Together AI

Serving MiniMax-M3 for efficient inference: Unlocking 1M-Token Context and Multimodality Without Regrets

Case study 7 min +70 XP

Serving MiniMax M3, a 1M-context multimodal model built on block-sparse MiniMax Sparse Attention (MSA), took several engine and kernel changes that together raised throughput 81–125% across concurrency levels on agentic traffic.

Week of May 25

Meta Engineering

SilverTorch: Index as Model — A New Retrieval Paradigm for Recommendation Systems

Case study 14 min +140 XP

SilverTorch replaces Meta's microservice-based recommendation retrieval with "Index as Model": the item index, eligibility filter, ANN search, neural reranker and multi-task scorer all become tensors or nn.Modules inside a single PyTorch model served on GPUs in one forward pass.

Week of May 11

Week of May 4

Together AI

Serving DeepSeek-V4: why million-token context is an inference systems problem

Deep dive 11 min +110 XP

DeepSeek-V4's 1M-token context comes from compressing the token axis of the KV cache: Compressed Sparse Attention (stride 4, top-k selection), Heavily Compressed Attention (stride 128, dense over ~8K entries) and a 128-token Sliding Window Attention path.

The quest for software engineering knowledge.

Look:
Layout: