CleanJepa: pure-PyTorch unified repo for I-JEPA, V-JEPA, LeWM, DINO-WM world models

udmrzn · x · 2026-12-02

CleanJepa (MIT, 61 stars) applies the CleanRL/nanoGPT philosophy to JEPA and latent world models: I-JEPA, V-JEPA, LeWM, DINO-WM, LpWM and Token-JEPA live in one repo; encoder, prediction head, anti-collapse regularizer (SIGReg/VICReg) and planner (CEM/MPPI/gradient) are freely mixable via CLI flags. Core code depends only on torch — no Lightning or Hydra — with training loops readable in ten minutes. The README documents a subtle pitfall: applying SIGReg to patch tokens while mixing batch and spatial dims lets models fool the Gaussian test with background textures while representations have already collapsed.

Original post →

More from coding & agent

coding & agent channel →