Aniruddh Chandratre

Senior Software Engineer, ML Infrastructure, at Tesla AI in Palo Alto

I’m a distributed systems engineer. Since early 2024 I’ve built the infrastructure Tesla AI uses to train its self-driving (FSD) and robotics (Optimus) models.

That takes three things: preparing billions of pieces of data a month, keeping well over a hundred thousand GPUs busy, and getting data to them fast enough that none sit waiting. I built a system for each.

Preparing the data

The data platform, since 2024

Before a model can learn from a video clip, the clip has to be found, filtered, labeled and checked. At Tesla AI that runs on one platform: an engineer describes a job, and the platform splits it up, spreads it across the GPU clusters and reruns whatever fails.

I lead it. It has grown from about 940 million items a month to nearly 20 billion. I rebuilt its core so every pipeline runs under its own isolated controller, which lets a single pipeline be a thousand times larger, and rewrote the workers to stay alive between tasks instead of starting cold. Rented from a public cloud, the CPU and GPU hours it manages would cost almost $7 billion a month.

Technical details

  • A MapReduce-style batch system running on Slurm
  • One isolated controller per pipeline, which raised per-pipeline capacity 1,000×
  • Persistent worker processes that stream items: 4.7 to 7.4× faster per item, retries 16× faster, work planning 8× faster
  • Every task sandboxed with bubblewrap
  • CPU and GPU profiling with Perfetto, and GPU power-floor enforcement

Keeping the GPUs busy

Scheduling and defragmentation, 2026

The newest GPU systems, Nvidia’s NVL72, wire the 72 GPUs in a rack directly to one another, so the largest training jobs need whole racks. A busy cluster has plenty of free GPUs, but scattered. Only 24% of capacity could take a large job.

I designed and built the system that fixes this while everything keeps running. It rearranges running work so racks come free whole, steers new jobs to the machines that suit them, and fills idle GPUs with lower-priority work that can be interrupted. Now 88% of that capacity can take a large job. Across the fleet, the equivalent of more than 230,000 Nvidia H100s, utilization went from 94% to 98%. Each point is more than 2,000 GPUs.

Technical details

  • A control plane on Slurm
  • Topology-aware rack defragmentation for NVL72, with clusters online
  • Dynamic node weighting for placement
  • Preemptible backfill of idle GPUs across the fleet
  • Large-job capacity from 24% to 88%, about 3.7×; maintenance packing above 95%

Getting data to them fast enough

The training filesystem, 2026

Training reads video around the clock. If storage can’t keep up, GPUs sit idle.

We are building our own filesystem to replace the commercial one in use today. I lead a team of six engineers building it. It reaches line rate and is ahead of production systems on standard supercomputing storage benchmarks.

Technical details

  • Erasure-coded storage
  • A user-space data path: RDMA on the network, SPDK to the drives
  • Decentralized Raft metadata store
  • Reaches line rate; ahead of production systems on standard supercomputing storage benchmarks

Two smaller systems

Scraping, search and lineage

One scrapes the internet from seven regions and makes what it collects searchable, with a vector search over more than 50 billion vectors, so a team can describe what it needs and get matching data back.

The other tracks lineage: for any model, which datasets and jobs produced it. A large analytics query on that data used to run out of memory after three hours. It now takes 25 seconds.

Technical details

  • Internet-scale scraping on Kubernetes in seven regions
  • Vector search over more than 50 billion vectors in total
  • Lineage across artifacts, datasets, training jobs and models
  • Analytics on embedded ClickHouse (chDB) with 8-byte IDs, over 2.4 billion rows
  • Kafka and Redpanda scaled to 5× the partitions

Before Tesla AI

I joined Tesla in 2023, in manufacturing. I built the data broker that carries equipment readings from the factory floor to the cloud: more than 10 billion a day from Austin, Berlin and Fremont.

Before that I was a graduate researcher at Arizona State University, on a DARPA program (ARCOS) with Lockheed Martin. The work was finding, automatically, the situations in which an autonomous system fails. I co-wrote the open-source toolbox for it, PSY‑TaLiRo, ran the lab’s Kubernetes cluster, and reviewed papers for IROS, ICRA and CASE.

Earlier, I was the founding ML engineer at Aftershoot. I built the model that ranks a photographer’s shots. The company is now backed by Techstars and Headline, valued at $55 million, and used by about 250,000 photographers.

2023 to 2024
Software Engineer, Automation Software Tesla, Fremont
2021 to 2022
Graduate Research Assistant Arizona State University
2022
M.S. Robotics and Autonomous Systems Arizona State University, GPA 4.0/4.0
2020 to 2021
Founding ML Engineer Aftershoot
2020
B.Tech. Electronics and Telecommunications NMIMS, Mumbai

Papers

Eight publications, mostly on testing autonomous systems

Author lists and citations on Google Scholar