Repository navigation
Mena-Lab v0.1.1
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.zipYour downloaded model weights, run history, and settings are preserved automatically.
Key Fixes
- Exact Grimme D3(0) (
r0ab, 20 Å cutoff) foromc25_pbe(zero_pbe): Fixed all 5 dispersion backends (PyTorch, CPU C++, Apple Metal, CUDA, Triton) to use exact pairwiser0abinstead of Becke–Johnsonsqrt(3·r2r4)and9–12 Åtruncation, matching periodic D3(0) to< 3e-6 kcal/molwhile preserving 2D slab vacuum invariance. - MPS D3 neighbor-list refresh (
1024 < N <= 2048open molecules) & NPT cache: Fixed stale D3 CSR lists on the Apple Silicon fast path and replaced the rigid1e-12NPT cell check with an exact affine singular-value skin bound. - NHC thermostat degrees of freedom (
MDEngine): Uses exact3N - 6(3N - 5linear,3N - 3periodic) DOF whenremove_com=True, fixing small-molecule internal overheating (e.g.CH3OHnow runs at target300 Kinstead of450 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 to1.70 Å. - Spectroscopy, TRPMD & interpretability: Default TRPMD damping
lam=0.5withfloat64recentering and charged-ion COM drift removal; dipole-inclusive alignment score ininterpret.py. - Numerical hygiene & guardrails: Coincident-atom
r = 0branch-safe guard (edge_terms.py), optional SPMEfixed_grid_shapelock for NPT (spme_batched.py/trunk.py),"iso_atom"energy decomposition key, and warnings/UI cleanup removing untrained levels of theory (mad16_r2scan,oc25_rpbefromlam6-v1;omc25_pbefromlam5-v1).