Repository navigation
Releases
v0.2.0: a world model you can steer, and RL inside it
v0.2.0 adds a world model on top of v0.1. Steer the dream off the recorded path, drive a policy inside it, and train that policy with RL in the dream. Built from Xiaomi's public Auto World Model 2.0 report, at laptop scale. Unofficial; not affiliated with Xiaomi or Tesla.
Measured on the two drives held out of training:
| Steered somewhere the logs never went | the dream's offset follows the kinematic model at r = 0.93 to 0.99 (mean error 0.03 to 0.07 m over 8 s) |
| Policy cloned from human logs | leaves the lane in 75% of 20 s dreams (it learns no correction: the human never left the path) |
| Same policy after RL inside the dream, no labels | 0% out of lane, 100% back within 0.3 m; on real warped pixels its correction matches a hand-written steer-back rule at r = 0.81 |
| Baseline with hand-written labels, no world model | 0% out of lane, 93% back; r = 0.84 |
On this task RL in the dream removed the need for labels. It did not beat them. The README lists what failed first and every limit.
git clone https://github.com/azet-llc/realview && cd realview
pip install -r requirements.txt
sh scripts/download_weights.sh
python -m realview.dream --video weights/sample_day.mp4 --log weights/sample_day.npz --steer 0.02 --out dream.mp4
python -m realview.dream --video weights/sample_day.mp4 --log weights/sample_day.npz --offset 0.8 --policy weights/policy_rl.pt --out back_in_lane.mp4Files: realview.pt (v0.1 generator, unchanged), realview_world.pt (23M world model, 4,000 steps, fp16), policy_bc.pt / policy_aug.pt / policy_rl.pt, TAESD (MIT), sample_day.mp4 + sample_day.npz (held-out comma2k19 clip and its speed / yaw-rate log, MIT, © comma.ai).
RealView v0.1.0
Tesla's in-car Reality View, rebuilt from Elon's post of Nov 22, 2026, with open weights.
What's in it
realview.pt: the generator, 33M params, fp16, step 10,000 EMA (66 MB)taesd_encoder.pth,taesd_decoder.pth: TAESD (MIT, © Ollin Boer Bohan)sample_day.mp4: a 60 s comma2k19 drive the model never trained on (MIT, © comma.ai)
Run it in three commands
git clone https://github.com/azet-llc/realview && cd realview
pip install -r requirements.txt
sh scripts/download_weights.sh && python -m realview.run --video weights/sample_day.mp4 --out out.mp4Measured on two held-out drives (8 clips × 60 s)
| Generator input | Finds the right moment | PSNR |
|---|---|---|
| Features of this drive | 63.8% (day 86.2%, night 26.4%) | 24.1 dB |
| Features of a different drive | 1.5% | 14.9 dB |
| Features set to zero | 1.7% | 16.6 dB |
92.6 ms per 8-frame chunk on an M4 Max (86 fps). Night is weak and far cars smear: see Limits in the README.
Unofficial, not affiliated with Tesla.