From 470fdd195dc70b5b566bd1dfa1c6f0750443b67a Mon Sep 17 00:00:00 2001 From: pepijn223 Date: Fri, 5 Jun 2026 16:10:00 +0200 Subject: [PATCH] fix(ema): default EMA decay to 0.99 Matches openpi's top-level default (ema_decay=0.99, ~last 100 steps). Co-authored-by: Cursor --- src/lerobot/configs/default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lerobot/configs/default.py b/src/lerobot/configs/default.py index 0d3231d69..205b68940 100644 --- a/src/lerobot/configs/default.py +++ b/src/lerobot/configs/default.py @@ -112,7 +112,7 @@ class EMAConfig: # 0.99 — last ~100 steps; openpi top-level default # 0.75 — very fast EMA (Diffusion Policy original setting) # 0.9999 — very slow EMA (long classification runs) - decay: float = 0.999 + decay: float = 0.99 # Skip the first N calls to ``ema.update()``; during this window # the shadow is just a hard copy of the live weights (no averaging). # Lets early-training rapid changes settle before averaging begins.