Skip to content

Mena-Lab v0.1.1

Choose a tag to compare

@iatecoding iatecoding released this 27 Nov 09:16
· 13 commits to main since this release

Mena-Lab v0.1.1 — Scientific Correctness & Stability Patch

Pure code & kernel release — no model weights changed (cached v0.1.0 checkpoints continue to work without re-downloading).

Updating from v0.1.0

pip install --upgrade https://github.com/iatecoding/mena-lab/archive/refs/heads/main.zip

Your downloaded model weights, run history, and settings are preserved automatically.

Key Fixes

  • Exact Grimme D3(0) (r0ab, 20 Å cutoff) for omc25_pbe (zero_pbe): Fixed all 5 dispersion backends (PyTorch, CPU C++, Apple Metal, CUDA, Triton) to use exact pairwise r0ab instead of Becke–Johnson sqrt(3·r2r4) and 9–12 Å truncation, matching periodic D3(0) to < 3e-6 kcal/mol while preserving 2D slab vacuum invariance.
  • MPS D3 neighbor-list refresh (1024 < N <= 2048 open molecules) & NPT cache: Fixed stale D3 CSR lists on the Apple Silicon fast path and replaced the rigid 1e-12 NPT cell check with an exact affine singular-value skin bound.
  • NHC thermostat degrees of freedom (MDEngine): Uses exact 3N - 6 (3N - 5 linear, 3N - 3 periodic) DOF when remove_com=True, fixing small-molecule internal overheating (e.g. CH3OH now runs at target 300 K instead of 450 K).
  • Guarded batched GPU L-BFGS (relax.py): Added per-molecule descent-direction guard and Armijo backtracking line search to eliminate uphill steps and ligand chirality inversions.
  • Implicit solvent metal radii (implicit_solvent.py): Added physical Bondi / mBondi2 / HCT Born radii for 26 metals (Li, Na, K, Mg, Ca, Fe, Zn, Cu, ...) instead of silently falling back to 1.70 Å.
  • Spectroscopy, TRPMD & interpretability: Default TRPMD damping lam=0.5 with float64 recentering and charged-ion COM drift removal; dipole-inclusive alignment score in interpret.py.
  • Numerical hygiene & guardrails: Coincident-atom r = 0 branch-safe guard (edge_terms.py), optional SPME fixed_grid_shape lock for NPT (spme_batched.py / trunk.py), "iso_atom" energy decomposition key, and warnings/UI cleanup removing untrained levels of theory (mad16_r2scan, oc25_rpbe from lam6-v1; omc25_pbe from lam5-v1).