LeWM (Latent Encoder World Model) is a JEPA-based vision world model: a ViT encoder compresses 224×224 images into a compact latent vector, and a DiT-style predictor forecasts the next latent given the current state and robot action. It was trained on the
PushT
environment.
The encoder's INT8 path uses per-channel symmetric quantization with f32 scales. When we skip INT8 and quantize the encoder directly to Q4:
Encoder INT8: cos=0.9998 vs f32
Encoder Q4: cos=0.93 vs f32 (7% quality drop)
The issue is the ViT encoder has high dynamic range in intermediate activations. INT8 preserves more signal per channel. Q4's 32-element block granularity doesn't match the encoder's channel statistics.
Why Ternary Underperforms
Ternary weights ({-1, 0, +1}) theoretically compress 8x more than Q4. In practice:
Q4 cos: 0.998 vs f32
Ternary cos: ~0.85 vs f32
The predictor's adaLN modulation is sensitive to weight magnitude, not just sign. Ternary destroys the scale information that adaLN relies on.
Q4 weights (integers -8 to 7) decompose into shift-and-add trees. Multiplication by a constant becomes a wire + adder network — no multiplier circuit, no memory fetch.
If you use these models or the quantization results, cite the original LeWM paper:
@article{maes2025lewm,
title={LeWorldModel: Stable End-to-End Joint-Embedding Predictive Architecture from Pixels},
author={Maes, Lucas and Le Lidec, Quentin and Scieur, Damien and LeCun, Yann and Balestriero, Randall},
journal={arXiv},
year={2025}
}
For the quantization and architecture experiments, cite this collection:
@misc{lewm_models_2026,
title={LeWM Model Collection: Quantized and Architecture Variants},
author={Attocoder Team},
year={2026},
publisher={GitHub},
url={https://github.com/attocode/lewm-models}
}
License
All models are derived from LeWM, which is licensed under
CC BY-NC 4.0
.
You are free to:
Share
: copy and redistribute the material
Adapt
: remix, transform, and build upon the material
Under the following terms:
Attribution
: You must give appropriate credit to the original LeWM authors
NonCommercial
: You may not use the material for commercial purposes
More Information About lewm-models huggingface.co Model
lewm-models huggingface.co
lewm-models huggingface.co is an AI model on huggingface.co that provides lewm-models's model effect (), which can be used instantly with this eren23 lewm-models model. huggingface.co supports a free trial of the lewm-models model, and also provides paid use of the lewm-models. Support call lewm-models model through api, including Node.js, Python, http.
lewm-models huggingface.co is an online trial and call api platform, which integrates lewm-models's modeling effects, including api services, and provides a free online trial of lewm-models, you can try lewm-models online for free by clicking the link below.
eren23 lewm-models online free url in huggingface.co:
lewm-models is an open source model from GitHub that offers a free installation service, and any user can find lewm-models on GitHub to install. At the same time, huggingface.co provides the effect of lewm-models install, users can directly use lewm-models installed effect in huggingface.co for debugging and trial. It also supports api for free installation.