Skip to content

Releases

v0.2.0

Choose a tag to compare

@sirmarcel sirmarcel released this 01 Oct 14:52
3b94155

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). With lr=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 inputs argument, filled from batch.inputs. Models declare which per-structure properties they need through an inputs property (#37).
  • Requires marathon-train>=0.4.

Features

  • APTs in LoremBEC now include a contribution from the long-range features (#30).
  • Per-structure model inputs are passed from the data into the batch (#37), as groundwork for conditioning on, e.g., total charge.

v0.1.0

Choose a tag to compare

@sirmarcel sirmarcel released this 25 Sep 13:39
74f54ad

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-train training script on the marathon grain pipeline, with initial_weights support 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 /release command for Claude Code
  • Best-effort wandb cleanup; ignore ase deprecation warnings; ignore run/ outputs