Skip to content

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

Meta Engineering 8 min read Case study easyNovice

Zoomer: Powering AI Performance at Meta’s Scale Through Intelligent Debugging and Optimization

Zoomer is Meta's automated profiling, debugging and optimization platform for AI training and inference across hundreds of thousands of GPUs, generating tens of thousands of profiling reports daily. It combines GPU traces (Kineto, PyTorch Profiler, DCGM), CPU profiling (Strobelight), host telemetry and NCCL communication data. Automated analyzers then detect stragglers, bottlenecks, critical paths, memory issues and parallelism imbalances, and results are shown through Perfetto-integrated timelines, dashboards and auto-generated fix recommendations. Training profiling triggers automatically around iterations 550-555 to capture steady state. Reported wins include a 75% training-time reduction for Ads models, 2-50% inference QPS gains, 10-45% inference power reductions and 25-30% speedups on 32k-64k GPU jobs.

Related posts

  • Asicmon: A platform agnostic observability system for AI accelerators

    Meta Engineering mediumAdept

    Meta built Asicmon, an observability layer that abstracts heterogeneous AI and video accelerator drivers behind a standard counter interface. It caches periodically probed metrics per device, and those metrics feed health checks, telemetry and Shard Manager autoscaling across hundreds of thousands of ASICs. Asimov, a Python-like DSL built on ANTLR, compiles driver instrumentation into thread-safe C++ monitoring modules, cutting new-accelerator onboarding from a month to under a week. Atrace collects device traces remotely in production and summarizes them per operator with critical-path analysis, an approach that closed a 10% latency gap between the Caffe2 and PyTorch versions of one model.

  • Key research and product announcements at the AI Native Conf

    Together AI hardMaster

    Together AI announced seven research and product releases spanning GPU kernels, reinforcement learning infrastructure and inference optimization. FlashAttention-4 targets NVIDIA Blackwell and is reported 2.7x faster than Triton and 1.3x faster than cuDNN 9.13. A single-kernel Megakernel cut a voice agent's time-to-first-64-tokens from 281ms to 77ms, and together.compile beats torch.compile by 41% on a Flux Kontext benchmark. ThunderAgent schedules whole agentic workflows to avoid KV cache thrashing and leaked tool sandboxes, ATLAS-2 retrains speculative decoders online from live traffic, and cache-aware prefill-decode disaggregation sends warm and cold requests to separate tiers over an RDMA KV cache for 35-40% higher QPS.

  • Hugging Face on AMD Instinct MI300 GPU

    Hugging Face easyNovice

    Hugging Face's transformers and text-generation-inference (TGI) now run on AMD Instinct MI300X GPUs with no code changes, backed by a Kubernetes-scheduled CI pipeline that runs tens of thousands of unit tests on MI250 and MI300 hardware. TGI optimizations for MI300 include Flash Attention v2, Paged Attention, GPTQ/AWQ kernels, fused kernels, and PyTorch's ROCm TunableOp. TunableOp tunes GEMMs during server warmup and gives an 8-10% decode latency gain on small inputs. On Llama 3 70B, MI300X on Azure delivers 2-3x faster time to first token and 2x faster decoding than MI250, and roughly 2x faster LoRA fine-tuning. Its 192 GB HBM3 also fits the full ~140 GB fp16 model on a single GPU.

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

    Meta Engineering hardMaster

    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. Compute efficiency came from custom recommendation kernels: Jagged Flash Attention (no padding, subtraction-based masking, split-dQ backward, TLX warp specialization), GDPA unifying non-softmax attention variants (up to 3.5x over FA4 on short K/V), and 64-token BlockAttention with fused RoPE, plus MXFP8 attention and MLP that avoid CTR/CVR quality regressions. Scaling efficiency came from topology-aware 5D parallelism (2D FSDP + expert parallelism for dense, fully sharded 2D model parallelism for sparse embeddings) with SM-free collectives. Framing E2E MFU as local MFU × scaling ratio turned a sprawling co-design effort into separable optimization levers.

  • Capacity Efficiency at Meta: How Unified AI Agents Optimize Performance at Hyperscale

    Meta Engineering easyNovice

    Meta's Capacity Efficiency Program uses one AI agent platform for two jobs: finding performance optimizations (offense) and fixing production regressions (defense). The platform has two layers. MCP tools are single-purpose interfaces for querying profiling data, config history, code and docs, and skills encode senior engineers' reasoning about which tools to use and how to read the results. FBDetect catches regressions as small as 0.005%, and its AI Regression Solver turns root-caused regressions into fix-forward pull requests sent to the original author. On offense, agents turn efficiency opportunities into ready-to-review code. Meta reports that automated diagnosis cuts about 10 hours of investigation to about 30 minutes, and the program has recovered hundreds of megawatts of power.

The quest for software engineering knowledge.

Look:
Layout: