Skip to content

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

240 posts RSS

Week of Nov 16

Meta Engineering

How Meta Uses AI Agents to Scale ML Innovations Across Ads Ranking Models

Case study 10 min +100 XP

Meta uses AI agents to propagate proven ranking-model techniques (e.g. Wukong layers, Interformer, training optimizations) across a large, heterogeneous fleet of ads ranking models, where a technique rarely transfers without adaptation.

Week of Nov 9

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.

Meta Engineering

Intelligent Delivery: Making Every Unit of Compute Serve Better Ads

Case study 9 min +90 XP

Meta's Intelligent Delivery is an ML-driven layer that allocates serving compute across requests, models, hardware fleets and ranking stages by predicting the marginal utility of each unit of compute, adding about 10% ads ranking performance since 2017.

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

Meta Engineering

F3 Lightning: How Meta Accelerates Ads ML Features to Production at Scale

Case study 10 min +100 XP

F3 Lightning decouples feature releases from shared execution in Meta's ads ML feature framework, so each of 20,000+ features is compiled, validated, deployed and rolled back independently instead of shipping as one all-or-nothing merged DAG.

Week of Oct 26

Meta Engineering

Catching Bugs Before They Land: JiTTesting’s Human-on-the-Loop Approach at Full Scale

Case study 6 min +60 XP

Meta has moved Catching Just-in-Time Tests (JiTTests) from research prototype into production: LLMs generate executable tests designed to fail on risky diffs, exposing concrete behavioral changes before code lands rather than reviewing code like a human would.

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

Meta Engineering

The Thin Orchestrator: How We Made Our AI Agents More Reliable by Giving the Router Less to Do

Case study 7 min +70 XP

Meta replaced a single all-knowing AI agent for onboarding data columns across its recommendation pipelines with a deliberately thin, deterministic orchestrator: about 1,300 lines that route 20+ workflows to 14 specialized subagents and do no domain reasoning.

Week of Oct 12

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.

Meta Engineering

Turning Opportunistic AI Inference Capacity Into Better Ads Recommendations

Case study 10 min +100 XP

Meta aggregates locally idle inference capacity, stranded by peak provisioning, delivery timing, resource-ratio and accelerator-type mismatches, into a preemptible opportunistic pool used to improve ads recommendations.

Week of Oct 5

Week of Sep 21

The quest for software engineering knowledge.

Look:
Layout: