Skip to content

PxD-Bridge v2.2.0 (Native VASP CHGCAR Export, Optional PAW Aug & DFT-1616)

Latest

Choose a tag to compare

@klsk007 klsk007 released this 04 Dec 10:41

PxD-Bridge (EqV3 OMat-G–EdenGNN-Uni) v2.2.0 integrates native pure-Python VASP CHGCAR / CHGCAR.gz export and optional PAW augmentation occupancies prediction directly into pxd-predict, alongside a standalone pxd-npz2chgcar converter and the DFT-1616 real-DFT fine-tuned checkpoint (all 87/87 elements + proportional 2D/1D/vacuum structures).

What's new in v2.2.0

  1. Direct VASP CHGCAR / CHGCAR.gz export (pxd_bridge.sad.write_chgcar, pxd-predict):
    • Pure-Python VASP5 writer matching VASP / EdenGNN Fortran column-major formatting ((density * V).flatten(order='F'), 5 values/line, atomic temp-file writes) — no f2py compilation and no pymatgen dependency required.
    • Auto-detected from output filename (CHGCAR, CHGCAR.gz, *.chgcar, *.chgcar.gz) or set explicitly with --format chgcar / --chgcar-out PATH (to save both .npz and CHGCAR in one pass).
    • Ready out-of-the-box for VASP ICHARG=1, VESTA, VASPKIT, pymatgen, ASE, Bader, and electrostatic Poisson solvers.
    • Optional --normalize-nelect flag rescales pseudo_density so its cell integral matches the exact SAD valence electron count $N_e$.
  2. Optional PAW augmentation occupancies for VASP ICHARG=11 (--aug-ckpt):
    • Pass --aug-ckpt EdenGNN-Uni_vasp_aug.ckpt alongside --potcar POTCAR (and optional --aug-config / --lmix-max 6) to parse the exact PAW projector basis straight from POTCAR (parse_potcar_paw_basis), predict onsite PAW augmentation tensors using the bundled eden-aug.yaml configuration, and append VASP augmentation occupancies blocks (irreps_to_vasp_aug) directly to CHGCAR / CHGCAR.gz.
  3. Standalone pxd-npz2chgcar CLI:
    • Convert any existing pxd-predict .npz archive to VASP CHGCAR or CHGCAR.gz in one command (pxd-npz2chgcar prediction.npz CHGCAR).

Quick examples

# Direct VASP CHGCAR export with DFT-1616 (zero VASP calls)
pxd-predict POSCAR CHGCAR \
  --eqv3 omat24_gradient.pt \
  --weights pxd-bridge-eqv3-edengnn-dft1616.pt \
  --potcar POTCAR --grid 48 48 48

# Full VASP ICHARG=11 CHGCAR.gz with PAW augmentation occupancies
pxd-predict POSCAR CHGCAR.gz \
  --eqv3 omat24_gradient.pt \
  --weights pxd-bridge-eqv3-edengnn-dft1616.pt \
  --potcar POTCAR --grid 48 48 48 \
  --aug-ckpt EdenGNN-Uni_vasp_aug.ckpt

# Convert existing .npz to VASP CHGCAR
pxd-npz2chgcar prediction.npz CHGCAR

Verified v2.2.0 tests (isolated wheel install)

  • Si 12×12×12 regression check: pxd-predict matches all 8 archived reference probe values identically.
  • CHGCAR round-trip (pxd-npz2chgcar + ASE VaspChargeDensity + read_chgcar): max absolute difference 0.0 across plain CHGCAR and CHGCAR.gz.
  • Direct multi-species CHGCAR.gz + --weights DFT-1616 + --potcar + --normalize-nelect + --aug-ckpt: exact electron-count match against PAW SAD and exact per-atom augmentation occupancies block lengths matching POTCAR PAW projectors.

Optional real-DFT fine-tuned checkpoint: DFT-1616 (all 87 elements + proportional 2D/1D/vacuum)

Blind benchmark EdenGNN-Uni v2.0.0 (teacher-only) DFT-1616 (v2.1.1) DFT-1616 win rate
Full bulk 1,000 (bulk1000, $n=1{,}000$, zero exclusions) 1.2309% 1.2253% 1.1077% 912/1000 vs v2; 807/1000 vs Eden
  ↳ W-containing subset (W35, $n=35$) 0.8087% 0.7994% 0.7122% 35/35 (100%) vs v2; 31/35 vs Eden
strain100 unstrained $E_\rho(0)$ / strained $E_\rho(u)$ ($n=100$) 1.1433% / 1.4017% 1.0483% / 1.2341% 0.8706% / 1.0175% 84/100 vs v2; 89/100 vs Eden (strained)
strain100 redistribution $E_{\Delta,N_e}$ ($n=100$) 0.7390% 0.5937% 0.4928% 93/100 vs v2; 91/100 vs Eden
periodic578 $E_\rho(0)$ / $E_\rho(u)$ ($n=578$, 79 elements) 0.6845% / 0.8352% 0.6755% / 0.7726% 0.5370% / 0.6019% 543/578 vs v2; 522/578 vs Eden (perturbed)
periodic578 redistribution $E_{\Delta,N_e}$ ($n=578$, 79 elements) 0.4652% 0.3829% 0.3002% 565/578 vs v2 (79/79 elements); 572/578 (99.0%) vs Eden
Four MoS₂ nanotubes (n=4, vacuum-bearing OOD) 1.0408% 0.9849% 0.9500% 4/4 (100%) vs both v2 & Eden

Release artifacts

File SHA-256
Python wheel (pxd_bridge-2.2.0-py3-none-any.whl) 8a269fbac46c44d4a485dc5f5843bc886d12faf6f8650ea1ca840a7f9e5b319f
Bundled teacher-only weights (pxd-bridge-eqv3-edengnn-v2.0.0.pt) 10a4f286cd02ef1f52c4964a26a0730c2517784b258849b04a6637c71aeb7f45
Optional DFT-1616 fine-tuned weights (recommended, all 87 elements + 2D/1D/vacuum, pxd-bridge-eqv3-edengnn-dft1616.pt) 9ca1b78fcc28ed005771e2a715d79635a62d596ccc630d4b17b21bff812ae5d2