---
title: "Asicmon: A platform agnostic observability system for AI accelerators"
description: "Meta built Asicmon, an observability layer that abstracts heterogeneous AI and video accelerator drivers behind a standard counter interface."
url: "https://swe.quest/articles/asicmon-a-platform-agnostic-observability-system-for-ai-accelerators-01823664936331c5"
canonical: "https://engineering.fb.com/2021/06/28/data-center-engineering/asicmon/"
source: "Meta Engineering"
published: "2021-06-28"
difficulty: "medium"
kind: "Case study"
reading_minutes: 12
tags: ["observability","hardware","inference","datacenters","performance"]
---

# Asicmon: A platform agnostic observability system for AI accelerators

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2021-06-28, 12 min read, Case study. Original: [https://engineering.fb.com/2021/06/28/data-center-engineering/asicmon/](https://engineering.fb.com/2021/06/28/data-center-engineering/asicmon/)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Hardware](https://swe.quest/tags/hardware.md) (Infrastructure)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Datacenters](https://swe.quest/tags/datacenters.md) (Infrastructure)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- hardware accelerators basics ([easy posts on Hardware](https://swe.quest/tags/hardware.md?difficulty=easy))
- metrics and tracing concepts ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))

## Keywords

Asicmon, Asimov, Atrace, Shard Manager, ANTLR, Glow, PyTorch, Chrome trace viewer

## Related posts

- [Zoomer: Powering AI Performance at Meta’s Scale Through Intelligent Debugging and Optimization](https://swe.quest/articles/zoomer-powering-ai-performance-at-meta-s-scale-through-intelligent-debugging-7ffbe5f4f6776eee.md): Meta Engineering · 2025-11-21 · Easy · 8 min read · Performance engineering, ML platforms, Observability, Inference & serving, Model training
  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.
- [Building AI-Powered Observability with Heroku Managed Inference and Agents](https://swe.quest/articles/building-ai-powered-observability-with-heroku-managed-inference-and-agents-c65a18c2ea58a958.md): Heroku Engineering · 2026-02-13 · Medium · 5 min read · AI agents, Observability, Go, Debugging
  Observability platforms like Splunk, Honeycomb and Sentry can be exposed to AI coding assistants as MCP tools, so engineers query production telemetry in natural language from Cursor or Claude instead of switching to dashboards and writing SPL.
- [AI Lab: The secrets to keeping machine learning engineers moving fast](https://swe.quest/articles/ai-lab-the-secrets-to-keeping-machine-learning-engineers-moving-fast-ecc26a27b1339111.md): Meta Engineering · 2024-07-16 · Medium · 6 min read · ML platforms, Performance engineering, Testing, Developer productivity, Python
  Meta's AI Lab is a pre-production framework that continuously runs shrunk, often CPU-only versions of common ML training workflows as A/B tests to measure time to first batch (TTFB), the delay from job submission to the first training batch.
- [Meta introduces its first-generation AI inference accelerator](https://swe.quest/articles/meta-introduces-its-first-generation-ai-inference-accelerator-ada8e18664455a57.md): Meta Engineering · 2023-05-18 · Hard · 8 min read · Hardware, Inference & serving, Recommendations & ranking, Compilers
  MTIA v1 is Meta's first custom inference ASIC for deep learning recommendation models: a TSMC 7nm, 800 MHz, 25 W chip delivering 102.4 INT8 TOPS, built from an 8x8 mesh of processing elements with customized RISC-V cores, fixed-function units, 128 KB local SRAM each, 128 MB shared on-chip SRAM and up to 128 GB LPDDR5.
- [How Meta keeps its AI hardware reliable](https://swe.quest/articles/how-meta-keeps-its-ai-hardware-reliable-cbeee5a1f63af10d.md): Meta Engineering · 2025-07-22 · Hard · 13 min read · Hardware, Model training, SRE, Inference & serving, Datacenters
  Silent data corruptions (SDCs), hardware miscomputations that leave no trace, now occur at roughly one fault per thousand devices and are a growing threat to large-scale AI training and inference.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
