yury-lysogorskiy commited on
Commit
454f1f3
·
verified ·
1 Parent(s): ab8eb9a

v6: initial (v0) r2SCAN fine-tunes of 2L-OMAT (MP-ALOE, MatPES); no UQ

Browse files
CHANGELOG.md CHANGED
@@ -13,6 +13,38 @@ Newest release on top.
13
 
14
  ---
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  ## v5 — uq-v6 — *2026-09-01* (fix NaN `virial_sigma`; model payload only)
17
 
18
  - **Model payload only.** Checkpoints and `kokkos.npz` are **unchanged** and keep their existing
@@ -26,12 +58,18 @@ Newest release on top.
26
  atoms *multiplicatively*, so `0 * NaN` kept the NaN and smeared it over every padded bond.
27
  `virial_sigma`, which contracts over all bonds, therefore came back all-NaN in full-UQ mode.
28
  Fixed by folding a `1e-30` floor under the sqrt (`RandomProjectedBasisFeatures._safe_norm`).
29
- - **Who was affected:** ASE / `TPCalculator` in full-UQ mode only. `gamma`, `atomic_sigma`,
30
- `total_sigma`, `dsigma_dr` and every physical output were already correct. **LAMMPS was not
31
- affected** — it never fetches `virial_sigma`; its HAL bias virial is composed client-side from
32
- the kappa-rescaled uncertainty forces (`pair_modify bias_virial yes`).
33
- uqv3/uqv4 artifacts are not affected either (no normalize/density channels → the norm is
34
- never reached).
 
 
 
 
 
 
35
  - **Physical outputs are bit-identical to v3/v4** — E, F and stress agree to `0.000e+00` on all
36
  38 variants, as do `gamma`, `atomic_sigma` and `gmm_cluster`. The only other difference is a
37
  ~1e-3 shift in the density channel of an *exactly zero* basis (padding, or a genuinely isolated
 
13
 
14
  ---
15
 
16
+ ## v6 — no UQ — *2026-09-29* (initial r²SCAN fine-tunes, v0)
17
+
18
+ - **Initial fine-tune (v0) of the 2L-OMAT models on the MatPES-r²SCAN and MP-ALOE-r²SCAN
19
+ datasets**, trained by **Quentin Bizot**. Two new models, each as fp32 (default) + `-fp64`:
20
+ - **`GRACE-2L-OMAT-large-ft-mpaloe-r2scan-v0`** — `GRACE-2L-OMAT-large-base` fine-tuned on
21
+ MP-ALOE (r²SCAN), 4 epochs. Test MAE 53 meV/atom (energy), 0.096 eV/Å (forces). The energy
22
+ error was still falling steeply when training stopped; a longer fine-tune will follow.
23
+ - **`GRACE-2L-OMAT-ft-matpes-r2scan-v0`** — the small legacy `GRACE-2L-OMAT` fine-tuned on
24
+ MatPES (r²SCAN), 297 epochs (stopped at minimum learning rate). Test MAE 21 meV/atom, 0.100 eV/Å.
25
+ - **r²SCAN total energies.** Both fits used `reference_energy: 0`, so they predict VASP r²SCAN
26
+ total energies. Do not mix their energies with the PBE-based models.
27
+ - **No UQ.** The checkpoint archives hold only `model.yaml` + `checkpoint.*` (no
28
+ `gmm_artifacts.npz`), and the tags carry no `-uq-vN` suffix.
29
+ - **Kokkos:** `kokkos/GRACE-2L-OMAT-large-ft-mpaloe-r2scan-v0-kokkos.npz` only (shared by both
30
+ precisions). The small legacy 2L has no kokkos export.
31
+ - SavedModels were re-exported from the training checkpoints (`checkpoint.best_test_loss`, optimizer
32
+ state stripped) with the current code: `compute`, `compute_dense`, `compute_energy`, plus the 2L
33
+ parallel split for the large model. The small legacy 2L has a single communicated key, so like
34
+ its base `GRACE-2L-OMAT` it has no parallel split (`parallel: False` in the client).
35
+ - Gates (2026-09-29): re-export vs the trainer's `final_model` agrees to ≤2e-10 (E/atom, F,
36
+ stress, fp64); fp32 vs fp64 ≤5e-7 eV/atom, ≤1.1e-6 eV/Å; LAMMPS `grace/2l/kk` vs `pair_style
37
+ grace` (fp64, Fe–Ni–O, 64 atoms) dE 2e-10 eV/atom, dF 4e-10 eV/Å.
38
+ - **Known limitation: short-range holes.** Under strong isotropic compression the energy turns
39
+ over and drops below the equilibrium value, as it does in the base models: e.g. for the MP-ALOE
40
+ model at nearest-neighbour distances below ~1.1 Å (C, diamond), ~1.85 Å (W, bcc), ~1.7 Å
41
+ (Zn, hcp). The MatPES model shows a new one in diamond C below ~1.25 Å that its base does not
42
+ have. These distances are far outside equilibrium, but high-temperature or high-pressure MD
43
+ can reach them.
44
+ - Tags: `model-v6`, `checkpoint-v6`, `kk-v6`. Earlier tags are untouched.
45
+
46
+ ---
47
+
48
  ## v5 — uq-v6 — *2026-09-01* (fix NaN `virial_sigma`; model payload only)
49
 
50
  - **Model payload only.** Checkpoints and `kokkos.npz` are **unchanged** and keep their existing
 
58
  atoms *multiplicatively*, so `0 * NaN` kept the NaN and smeared it over every padded bond.
59
  `virial_sigma`, which contracts over all bonds, therefore came back all-NaN in full-UQ mode.
60
  Fixed by folding a `1e-30` floor under the sqrt (`RandomProjectedBasisFeatures._safe_norm`).
61
+ - **Who was affected:** anything that differentiates the UQ objective, i.e. the `compute_uq`
62
+ (full) signature. `virial_sigma` was NaN on every padded batch. `dsigma_dr` was NaN for a *real*
63
+ atom with no neighbour inside the cutoff (evaporated/isolated) — no padding needed.
64
+ All physical outputs (E, F, stress) were always correct, as were `gamma`, `atomic_sigma` and
65
+ `total_sigma`.
66
+ - **LAMMPS:** `gamma_only` and the kokkos kernels never differentiate through the norm, so
67
+ gamma/extrapolation-grade runs were never wrong. A TF-backed HAL run (`pair_modify kappa != 0`,
68
+ or `uncertainty_force`) does fetch `dsigma_dr_pair`, so an evaporated atom could poison the bias
69
+ forces there; that path is fixed by this re-export. LAMMPS never fetches `virial_sigma` at all —
70
+ its HAL bias virial is composed client-side from the kappa-rescaled uncertainty forces
71
+ (`pair_modify bias_virial yes`).
72
+ - uqv3/uqv4 artifacts are not affected (no normalize/density channels → the norm is never reached).
73
  - **Physical outputs are bit-identical to v3/v4** — E, F and stress agree to `0.000e+00` on all
74
  38 variants, as do `gamma`, `atomic_sigma` and `gmm_cluster`. The only other difference is a
75
  ~1e-3 shift in the density channel of an *exactly zero* basis (padding, or a genuinely isolated
checkpoints/GRACE-2L-OMAT-ft-matpes-r2scan-v0-checkpoint.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55235330769436aae1abafdd15b6ba2f60552d81ead763269e68250b363e75bf
3
+ size 46747605
checkpoints/GRACE-2L-OMAT-ft-matpes-r2scan-v0-fp64-checkpoint.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fc94bff83b1c10326eb4ed2cb0f3978e80d063e5991b1a8880c4f8890648c21
3
+ size 97133156
checkpoints/GRACE-2L-OMAT-large-ft-mpaloe-r2scan-v0-checkpoint.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad574167d56f99229387525ec6c30d3a30124786bf77afb9c22075bddd1d057f
3
+ size 97949133
checkpoints/GRACE-2L-OMAT-large-ft-mpaloe-r2scan-v0-fp64-checkpoint.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27979564b38eddf9fe00929c110a786c6d807f9a29cc7a3a971da207c7b095a2
3
+ size 204554262
kokkos/GRACE-2L-OMAT-large-ft-mpaloe-r2scan-v0-kokkos.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9841001a539648ff2f76860fd092031619f9c5b0f46afe4f25894d0e5545e6dd
3
+ size 211416182
models/GRACE-2L-OMAT-ft-matpes-r2scan-v0-fp64-model.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f6994ae67df540134124efce3eb3aefb8a3486b8c01c7ba8749a448e3b12d94
3
+ size 97398766
models/GRACE-2L-OMAT-ft-matpes-r2scan-v0-model.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ff4384a47a1b3392d7a829442b4fb087be9e1bcf0f7d248f86edf0df9e24d57
3
+ size 47011751
models/GRACE-2L-OMAT-large-ft-mpaloe-r2scan-v0-fp64-model.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:728dfda9df576a54de9d95e14caf71ea969cd693a8e971e07b6d5ea74cbe0920
3
+ size 205016188
models/GRACE-2L-OMAT-large-ft-mpaloe-r2scan-v0-model.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18461e48b3044390e6a366f18f1c3536d2a754dc5357d5bd66ba49b14a086218
3
+ size 98412432