VPMDK
VPMDK (VASP-Protocol Machine-learning Dynamics Kit) runs machine-learning
interatomic potentials such as CHGNet, MACE, SevenNet, and ORB from VASP-style
POSCAR and INCAR inputs or through a common ASE Python API. A BCAR file
selects the backend and model. The CLI writes OUTCAR, OSZICAR, CONTCAR,
and vasprun.xml for workflows that use those files.
python -m pip install vpmdk chgnet
vpmdk --dir ./calc
Put a POSCAR in ./calc to run a single point with the default CHGNet
backend. Use INCAR to select relaxation or molecular dynamics and BCAR
to change the model or backend.
- Generate force sets or force constants for phonopy.
- Run VTST-style NEB or a USPEX 9.4.4 relaxation.
- Predict a
CHGCARwith an optional charge-density model and pass it to Bader analysis. - Reuse a loaded model between short calculations with the resident server.
VPMDK runs independently of VASP and requires no VASP license. VASP is a trademark of VASP Software GmbH. VPMDK is an independent project with no affiliation with VASP Software GmbH.
Supported Backends
Force-field integrations include CHGNET, MATGL / M3GNET, MACE, MACE_SOYO, PROPHET,
ALIGNN (ALIGNN-FF), MATTERSIM, MATLANTIS, EQNORM, MATRIS, ALPHANET, HIENET, NEQUIX,
SEVENNET, FLASHTP, BAM, NEQUIP, ALLEGRO, ORB, UPET, TACE,
EQUFLASH, EQUIFORMER_V3, FAIRCHEM (v1 and v2 paths, including ESEN),
GRACE, and DEEPMD (including DPA-family checkpoints).
Optional charge-density integrations include ChargE3Net, DeepDFT, and DeepCDP. Actual availability depends on the packages and model files installed in your environment. See the backend reference for model requirements, aliases, defaults, and backend-specific caveats.
Installation
pip install vpmdk
pip install chgnet # example backend
For development from a checkout:
pip install -e .
See the installation guide for backend environments and optional dependencies.
CLI Quick Start
Create a calculation directory containing at least POSCAR. For example:
calc/
├── POSCAR
├── INCAR
└── BCAR
INCAR:
IBRION = 2
NSW = 200
EDIFFG = -0.02
ISIF = 3
BCAR:
MLP=CHGNET
DEVICE=cpu
Run the calculation:
vpmdk --dir ./calc
If BCAR is omitted, the CLI defaults to CHGNet. See
CLI Workflows for supported run modes and
the INCAR and
BCAR references for configuration details.
Python API
from ase.io import read
import vpmdk
atoms = read("POSCAR")
backend = vpmdk.BackendConfig(mlp="CHGNET", device="cpu")
result = vpmdk.single_point(atoms, backend)
relaxed = vpmdk.relax(atoms, backend, steps=200, fmax=0.02)
trajectory = vpmdk.md(atoms, backend, temperature=300, steps=100)
The Python API does not write VASP compatibility files by default. See the Python API guide and API reference.
Optional Server Mode
For batches that repeatedly use the same model, POSIX systems can keep one calculator resident in CPU or GPU memory:
vpmdk serve --dir ./model_config --daemon
vpmdk run --dir ./calc
vpmdk stop
One server processes calculations serially. Read the Server Mode guide before using it in an automated or shared-system workflow.
Documentation and Examples
Citation
Cite the Zenodo archive for VPMDK and the papers for the potentials you used. For reproducibility, select the archived release you ran.
License
VPMDK is distributed under the BSD 3-Clause License. See LICENSE.
Metadata
Release files for vpmdk 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vpmdk-0.6.0.tar.gz | 268.6 kB | With provenance | Details for vpmdk-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vpmdk-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for vpmdk-0.6.0-py3-none-any.whl |
Total release size: 564.0 kB
Release files / vpmdk-0.6.0.tar.gz
| Download URL | vpmdk-0.6.0.tar.gz |
|---|---|
| Size | 268.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee188e01a0409911bdfec028168f0765a60cef6af87c16607668ab8c2812838b
|
|
BLAKE2b-256 checksum How to use checksums |
5531113ebfcedfddee5b3c71d3f2649ff600ff9bde24e4cc976d5917aef89888
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logRelease files / vpmdk-0.6.0-py3-none-any.whl
| Download URL | vpmdk-0.6.0-py3-none-any.whl |
|---|---|
| Size | 295.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e328c9caed09156e388c44d301d2c7d596286ecc346dbaf3c1bf5994172f6932
|
|
BLAKE2b-256 checksum How to use checksums |
600b58ae64370fbe921160b71a3cac782e383ed02f1a4c319c184773b3a1fc3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logSecurity for vpmdk 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for vpmdk-0.6.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.