Skip to content

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

Meta Engineering 8 min read Case study mediumAdept

Simulator-based reinforcement learning for data center cooling optimization

Meta uses an offline, simulator-based reinforcement learning agent to set the supply airflow setpoint in its outside-air, evaporatively cooled data centers. Rather than exploring online, the agent starts from historical sensor states, samples actions, uses a physics-based thermal simulator to predict the next state and reward, and retrains its policy on the best state-action pairs. Constraints keep cold-aisle temperature rise and cold-to-hot-aisle pressurization within spec, and the simulator covers conditions absent from historical data. A pilot running since 2021 cut supply fan energy by 20% and water use by 4% on average with no temperature excursions, and the approach is now rolling out to existing and future AI-focused data centers.

Assumes: reinforcement learning basicsHVAC control loops

Related posts

  • How thermal simulation helps optimize Meta’s data centers

    Meta Engineering mediumAdept

    Meta built a physics-based (gray box) thermal simulator of its data center cooling and HVAC systems, using Modelica and the Control Description Language, so control policies can be tested without risking live facilities. Unlike models trained on sensor data, it generalizes to extreme and hypothetical conditions and to unbuilt sites, and it runs far faster than CFD. Fed only outside conditions, set points, fan airflow and server load, it reproduced a data hall's response to the February 2021 Texas winter storm with 0.5˚F mean absolute error in supply air temperature and no drift. Across 24 random 2021 dates the error was 1.3˚F. Next steps include predicting energy and water use and coupling the simulator with reinforcement learning and model predictive control.

  • Design for Sustainability: New Design Principles for Reducing IT Hardware Emissions

    Meta Engineering easyNovice

    Meta's Design for Sustainability guidelines target Scope 3 emissions from data center IT racks through modular rack design, reuse and retrofitting, lower-carbon materials, longer hardware life, dematerialization and supplier engagement. Concrete measures include ORv3 racks with separate toolless PSU and BBU shelves and a 48 V power shelf that can sit anywhere in the rack, a minimum of 20% recycled steel in racks and chassis, and heat sinks made entirely from recycled aluminum or copper. Other levers are harvesting DIMMs from end-of-life racks, removing unpopulated board components, moving from HDD to SSD, and liquid cooling, which can be up to 17% more carbon-efficient than air cooling. Meta's supplier program grew from 39 suppliers in 2021 to 183 in 2024.

  • LeRobot v0.6.0: Imagine, Evaluate, Improve

    Hugging Face hardMaster

    LeRobot v0.6.0 targets the full robot learning loop. It adds world-model policies (VLA-JEPA, LingBot-VA, FastWAM) that use future prediction during training while keeping inference cheap, new VLAs (GR00T N1.7, MolmoAct2, EO-1, EVO1, Multitask DiT), and a unified reward models API with Robometer and zero-shot TOPReward. It also ships six new simulation benchmarks under `lerobot-eval`, a `lerobot-rollout` deployment CLI with DAgger-style human corrections, FSDP and HF Jobs cloud training, depth recording, VLM-based language annotation, and configurable video codecs. Data loading is up to ~2x faster, and the base install has about 40% fewer dependencies.

  • Powering AI-led research through simulation

    Grab Engineering mediumAdept

    Grab built sim-rs, a self-contained tick-based marketplace simulator that replays a city-day of bookings and drivers through a closed dispatch loop (demand, supply movement, cancellation models, batching, solver-based allocation, recycling) in tens of minutes, with pluggable stages, portable reproducible run packages, and built-in switchback/spatial A/B/n experiments. An autoresearch loop lets agents propose code changes, run them, and keep only those that improve a computed metric and pass checks. To counter specification gaming, the environment enforces immutable core data, metrics the agent cannot redefine, branch-scoped diffs and layered compile and evaluation gates. Across about 150 overnight experiments, agents made driver-eligibility checks roughly 10x and cost adjustment roughly 24x faster, derived a deadline-bounded trip-recycling rule, and help keep the simulator faithful by porting production logic and fitting held-out-validated cancellation models.

  • How Meta Is Leveraging AI To Improve the Quality of Scope 3 Emission Estimates for IT Hardware

    Meta Engineering easyNovice

    Meta estimates embodied (Scope 3) carbon for hundreds of millions of data center hardware components by combining product carbon footprints (PCFs), parameterized models and cost-based estimates, ranking each by data quality and rolling them up to the rack level. TF-IDF with cosine similarity matches components to similar parts so existing PCFs can serve as proxies, and Llama 3.1 extracts parameters such as memory capacity and cable length from inconsistent data sources to feed physics-based models. A GenAI classifier, first run open-ended and then constrained to an expert-approved category list, maps vendor-specific bills of materials into a domain and component taxonomy to expose emission hotspots. Meta plans to open source the taxonomy, classifier and aggregation methodology through OCP.

The quest for software engineering knowledge.

Look:
Layout: