Repository navigation
Releases
Releases · lab-cosmo/lorem-jax
v0.2.0
Breaking changes
- BEC checkpoints from v0.1.0 no longer load. The tensor head in
LoremBEC(PerParticleTensorPredictor) now chains its Dense layers as intended. Previously the first two layers and both activations were dead, so the head was linear (#40, closes #38; thanks @hummingbird42 and @PicoCentauri). Withlr=True, the BEC model also gains a long-range APT term (#30). Both change the parameter tree, so BEC models must be retrained.Lorem(MLIP) checkpoints are unaffected. - Models now take an extra
inputsargument, filled frombatch.inputs. Models declare which per-structure properties they need through aninputsproperty (#37). - Requires
marathon-train>=0.4.
Features
v0.1.0
First public release of lorem-jax, a JAX implementation of LOREM (Learning Long-Range Representations with Equivariant Messages).
Features
- Lorem and LoremBEC models: energy, forces, stress, and Born effective charges, with optional equivariant message passing and Ewald long-range interactions
- ASE calculator with a Verlet-style neighbor-list cache
- i-PI driver and
lorem-install-ipi-driver lorem-traintraining script on the marathon grain pipeline, withinitial_weightssupport for fine-tuning
Fixes
- spherical_norm: second derivative no longer overflows float32 for tiny feature blocks (GPU-only training NaN, #26/#32)
- Training batcher no longer inherits the validation batcher's drop_remainder
- Correct batches_per_epoch in the pipeline benchmark
- Only advertise the BEC capability to i-PI when the model predicts it
- Drop FilterEmpty from the training pipeline
- Adjust the i-PI driver to the current i-PI release
Packaging and maintenance
- Depend on jax-pme, marathon-train, and opsis from PyPI
- Pin grain < 0.2.17 pending an upstream fix
- Package metadata for PyPI and a
/releasecommand for Claude Code - Best-effort wandb cleanup; ignore ase deprecation warnings; ignore run/ outputs