Skip to content

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

638 posts RSS

Today

Thursday, Nov 26

Wednesday, Nov 25

Tuesday, Nov 24

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.

Monday, Nov 23

VirtualBox Process Hardening on Windows 2026 Edition: What’s a Single Bit Between Friends?

Deep dive 13 min +130 XP

The .NET Framework v4 loader falls back from an image-section mapping (SEC_IMAGE) to a plain data mapping (FlatImageLayout) whenever NtCreateSection fails with STATUS_INVALID_IMAGE_FORMAT, so assemblies can execute without passing image-based DLL verification.

Friday, Nov 20

How Bee implemented Zero Operator Access for personal AI on AWS

Case study 8 min +80 XP

Bee, Amazon's wearable personal AI, enforces Zero Operator Access by having the user's device release short-lived decryption keys only to EC2 instances whose NitroTPM attestation matches software published in a public Sigstore Rekor transparency log.

Thursday, Nov 19

Hugging Face

Introducing harness adapters: adapt your favorite model to your harness to improve performance and cost

Research 21 min +210 XP

RL-training a LoRA adapter for a specific agent harness and task distribution makes a frozen base model both more accurate and cheaper: Qwen3.8-27B under the pi harness rises from 39% to 55% pass@1 on Terminal-Bench 2.1 while average token usage drops from 2.9K to 1.5K per task, mostly because the model reasons less and calls fewer tools.

When Can You Ship on Offline Evals Alone?

Research 11 min +110 XP

Shipping AI changes on offline evals alone, without A/B tests, can bound the risk of harming online metrics only under strong assumptions: a homogeneous, exchangeable corpus of paired offline/online effects, known measurement error, and LLM-judge bias that doesn't depend on the treatment arm.

Wednesday, Nov 18

Hugging Face

Why your fine-tuning job takes longer than the FLOPs say

Research 9 min +90 XP

FLOP-based estimates of fine-tuning time (6·P·D divided by GPU throughput times MFU) explain little of real end-to-end duration: across 272 production SFT runs on shared H200 clusters (about 7,382 GPU-hours), the best MFU setting gives R² = 0.31 and a 12.41 h MAE, and the Calculon analytical model does worse.

Tuesday, Nov 17

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.

Monday, Nov 16

Sunday, Nov 15

Friday, Nov 13

Meta Engineering

Cuttlefish on Mac: Running Android’s Virtual Device Framework Natively on Apple Silicon

Case study 5 min +50 XP

Meta's Reality Labs ported AOSP's Cuttlefish virtual-device framework to run natively on Apple silicon Macs, letting it retire the lower-fidelity Goldfish emulator and standardize on one platform shared by developers, CI and external partners.

Thursday, Nov 12

Wednesday, Nov 11

Hugging Face

The Definitive Fine-Tuning Guide for 3D Generation Models

How-to 17 min +170 XP

TRELLIS.2, an image-to-3D model built on sparse O-Voxel structured latents, can be specialized with LoRA adapters on just the stages that control shape: the dense sparse-structure flow DiT (rank 8, attention and MLP) and the sparse shape flow DiT (rank 16, attention), about 9.3M trainable parameters in total.

Chips and Cheese

Talking Zen 6 with Mike Clark at AMD In-Depth

Article 9 min +90 XP

AMD's Zen 6 family flips the role of its two core variants: the dense Zen 6c becomes the top-IPC performance core, with full 4MB-per-core L3 (128MB across 32 cores) and larger schedulers and queues that its lower frequency target allows, while classic Zen 6 is now the high-frequency design.

Google Research

Using wearables to enable cardiovascular-kidney-metabolic (CKM) risk profiling for personalized coaching

Research 9 min +90 XP

A coachable health age (CHA) metric built only from modifiable wearable signals (resting heart rate, steps, sleep, Active Zone Minutes) predicted 8-year onset of hypertension, cardiovascular disease and type 2 diabetes in the All of Us cohort (n=22,748), and it fell when users sustained habit changes.

Tuesday, Nov 10

Chips and Cheese

AMD’s Zen 6 Family: Feeding the Beast

Deep dive 10 min +100 XP

Zen 6 evolves Zen 5 with a faster branch predictor (lower mispredict penalty, two taken branches per cycle within the L1i), single-thread use of both decode clusters, four 256-bit vector loads per cycle, doubled VNNI throughput, fixed 64 B/cycle L2 bandwidth, and one fewer integer multiply unit.

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.

Monday, Nov 9

Understanding Private Evolution as Learning-Augmented Clustering

Research 2 min +20 XP

Private Evolution (PE), a differentially private synthetic data generation algorithm, performs far better in practice than worst-case Wasserstein learning analyses predict, and recasting it as generative model-augmented Wasserstein learning explains why.

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.

Evaluating the Evaluators: Investigating LLM Judges for Personalized Writing Style Assessment

Research 1 min +10 XP

LLM judges used to check whether generated text matches a user's preferred writing style (e.g., "upbeat") agree with human pairwise preferences only unevenly, and judge quality correlates weakly with general ability as measured by MMLU (Pearson's ρ ≤ 0.2).

Friday, Nov 6

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.

Thursday, Nov 5

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.

Wednesday, Nov 4

How we continuously validate formal specifications in production

Case study 16 min +160 XP

FETCh (Formal Execution Trace Checker) compiles TLA+ specifications into Rust runtime monitors that consume production telemetry and flag any state transition the spec forbids, catching drift between a formal model and the evolving implementation.

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.

Tuesday, Nov 3

ClickHouse

Fencing a Postgres primary that might still be alive

Case study 10 min +100 XP

Before promoting a standby, a managed Postgres control plane must fence the old primary, because promotion and DNS changes alone don't stop writes: async standbys, per-session synchronous_commit overrides, quorum commit with a remaining standby, and canceled commits already in WAL can all let a still-alive primary accept writes.

Monday, Nov 2

Friday, Oct 30

Thursday, Oct 29

Wednesday, Oct 28

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.

Tuesday, Oct 27

Saturday, Oct 24

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.

Thursday, Oct 22

Wednesday, Oct 21

Tuesday, Oct 20

Cross-store product clustering across millions of stores

Case study 13 min +130 XP

Shopify groups listings of the same product across millions of stores under a global Universal Product Identifier using a three-stage pipeline: embedding-based approximate nearest-neighbor retrieval to find candidate pairs, tiered pair scorers, and graph clustering.

Monday, Oct 19

Introducing ModuleLens: Zooming into PyTorch Modules for Human and Agentic Engineering

Case study 5 min +50 XP

ModuleLens lets Pinterest ML engineers capture any PyTorch module from a sharded multi-GPU recommendation model and rebuild it locally within seconds, replacing full-model initialization with a "module-first" workflow.

Sunday, Oct 18

Friday, Oct 16

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.

Thursday, Oct 15

Wednesday, Oct 14

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.

Netflix TechBlog

Measuring the Impact of Personalized Recommendations

Research 11 min +110 XP

Netflix estimates the causal value of its personalized recommendations with a low-rank, day-by-day choice model that separates members' dynamic, history-driven preferences from an explicit recommendation "bonus," identified from natural variation such as algorithmic exploration.

Tuesday, Oct 13

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.

Monday, Oct 12

The quest for software engineering knowledge.

Look:
Layout: