DeePMD-kit#

Start from a pretrained Deep Potential model, fine-tune it for your system, and deploy it at simulation scale.

Important

A pretrained model can be your starting point, not just your end result. Download a built-in DPA checkpoint, fine-tune the full model, or use DPA-4 LoRA with PyTorch single-task training, then test, export, and deploy it through the same DeePMD-kit workflow.

DeePMD-kit turns quantum-mechanical reference data into fast, scalable interatomic potentials. Use it across molecular and materials science—from finite molecules and covalent systems to periodic solids and metals—and scale from laptop fine-tuning to distributed training and MPI-parallel molecular dynamics.

DPA4 model family Pareto frontier for Matbench Discovery CPS and saturated inference throughput

The DPA4 model family traces a Pareto frontier across Matbench Discovery CPS and saturated inference throughput.#

Choose your path#

🧬 Start from pretrained

Download a built-in DPA checkpoint or resolve its model name directly.

Use dp pretrained to download built-in models
🎯 Fine-tune to your data

Adapt a full pretrained model, or use DPA-4 LoRA with PyTorch single-task training.

Finetune the pre-trained model
🏗️ Train from scratch

Build a new potential with single-task, multi-task, or distributed training.

Training
🧠 Choose a model

Compare DeepPot-SE, DPA-1, DPA-2, DPA-3, DPA-4, and specialized physics models.

Model
🔌 Deploy and integrate

Move models into Python, native APIs, LAMMPS, i-PI, ASE, GROMACS, and the wider simulation ecosystem.

Integrate with third-party packages

Why DeePMD-kit#

Pretrained-first adaptation

Start from built-in DPA checkpoints, fine-tune full models, use DPA-4 LoRA with PyTorch single-task training, and reuse learned representations with DPA-ADAPT.

Training from scratch

Configure new architectures and physical targets, then train with single-task, multi-task, or distributed workflows.

Training
Modern potential architectures

Use efficient DeepPot-SE descriptors, attention-based DPA models, large atomic models, and SO(3)-equivariant DPA-4.

Broad physical targets

Learn energies, forces, virials, Hessians, spin, dipoles, polarizabilities, density of states, atomic populations, and custom properties.

Multi-backend framework

Work with TensorFlow, PyTorch, JAX, or Paddle and use backend-aware model formats, conversion, and runtime plugins.

Backend
Performance at scale

Run on CPUs and GPUs, distribute training, compress supported models, export compiled .pt2 artifacts, and drive MPI-parallel simulations.

Open scientific ecosystem

Connect to simulation engines, workflow tools, native applications, and external GNN models through documented interfaces and plugins.

Integrate with third-party packages

Tip

On supported descriptors and workloads, model compression can deliver more than 10× inference speedup and reduce memory usage by as much as 20×. Actual gains depend on the model, system, and hardware.

Two starting points, one path to dynamics#

1 · Pretrained

Select a built-in DPA model or a compatible checkpoint.

Use dp pretrained to download built-in models
2 · Prepare

Convert target structures and labels into DeePMD data.

Data
3 · Fine-tune

Adapt the full model, or use DPA-4 LoRA with PyTorch single-task training.

Finetune the pre-trained model
3 · Train

Build a new model from scratch when adaptation is not the right fit.

Training
4 · Validate

Test accuracy, inspect deviation, freeze, and compress.

Test
5 · Simulate

Run inference directly or deploy into molecular dynamics.

Inference

Fine-tuning and from-scratch training converge on the same validation, export, and deployment toolchain. DPA-4 LoRA is currently limited to PyTorch single-task fine-tuning.

Choose a model family#

Family

A strong starting point when you need

DeepPot-SE

An efficient, established baseline with broad backend and deployment support.

DPA-1

Attention-based local representations and type embedding.

DPA-2

Multi-task pretraining, shared representations, and smooth conservative potentials.

DPA-3

Message passing over line-graph representations and broad chemical coverage.

DPA-4

SO(3)-equivariant learning, DPA-4 LoRA for PyTorch single-task fine-tuning, optional ZBL bridging, spin support, and compiled .pt2 deployment.

DPA4 energy and force accuracy versus saturated throughput

DPA4 provides a family of accuracy–throughput trade-offs for different deployment budgets.#

More than conventional force fields#

🧲 Spin and magnetism

Train spin-aware potentials with atomic and magnetic force targets.

Fit spin energy
⚛️ Long- and short-range physics

Combine learned local interactions with DPLR electrostatics, DPRc range correction, pair tables, or analytical ZBL bridging.

Deep potential long-range (DPLR)
📊 Properties and embeddings

Predict electronic or structural properties and export learned representations for analysis or downstream models.

Model embeddings

New and noteworthy#

Pretrained DPA models

Resolve built-in model names directly or download checkpoints to a local cache.

Use dp pretrained to download built-in models
DPA-4

Equivariant message passing, PyTorch single-task LoRA, ZBL, spin, compiled inference, and LAMMPS deployment.

Descriptor DPA4
DPA-ADAPT

Adapt pretrained DPA representations to downstream atomistic property tasks.

DPA-ADAPT
Official Agent Skills

Give AI agents reproducible guidance for training, fine-tuning, inference, and LAMMPS workflows.

Agent Skills

Documentation map#

Citation#

If you use DeePMD-kit in published work, cite the general software publication that matches the version used:

  • Han Wang, Linfeng Zhang, Jiequn Han, and Weinan E. “DeePMD-kit: A deep learning package for many-body potential energy representation and molecular dynamics.” Computer Physics Communications 228 (2018): 178–184. DOI: 10.1016/j.cpc.2018.03.016.

  • Jinzhe Zeng, Duo Zhang, Denghui Lu, Pinghui Mo, Zeyu Li, Yixiao Chen, Marián Rynik, Li’ang Huang, Ziyao Li, Shaochen Shi, Yingze Wang, Haotian Ye, Ping Tuo, Jiabin Yang, Ye Ding, Yifan Li, Davide Tisi, Qiyu Zeng, Han Bao, Yu Xia, Jiameng Huang, Koki Muraoka, Yibo Wang, Junhan Chang, Fengbo Yuan, Sigbjørn Løland Bore, Chun Cai, Yinnian Lin, Bo Wang, Jiayan Xu, Jia-Xin Zhu, Chenxing Luo, Yuzhi Zhang, Rhys E. A. Goodall, Wenshuo Liang, Anurag Kumar Singh, Sikai Yao, Jingchao Zhang, Renata Wentzcovitch, Jiequn Han, Jie Liu, Weile Jia, Darrin M. York, Weinan E, Roberto Car, Linfeng Zhang, and Han Wang. “DeePMD-kit v2: A software package for Deep Potential models.” The Journal of Chemical Physics 159 (2023): 054801. DOI: 10.1063/5.0155600.

  • Jinzhe Zeng, Duo Zhang, Anyang Peng, Xiangyu Zhang, Sensen He, Yan Wang, Xinzijian Liu, Hangrui Bi, Yifan Li, Chun Cai, Chengqian Zhang, Yiming Du, Jia-Xin Zhu, Pinghui Mo, Zhengtao Huang, Qiyu Zeng, Shaochen Shi, Xuejian Qin, Zhaoxi Yu, Chenxing Luo, Ye Ding, Yun-Pei Liu, Ruosong Shi, Zhenyu Wang, Sigbjørn Løland Bore, Junhan Chang, Zhe Deng, Zhaohan Ding, Siyuan Han, Wanrun Jiang, Guolin Ke, Zhaoqing Liu, Denghui Lu, Koki Muraoka, Hananeh Oliaei, Anurag Kumar Singh, Haohui Que, Weihong Xu, Zhangmancang Xu, Yong-Bin Zhuang, Jiayu Dai, Timothy J. Giese, Weile Jia, Ben Xu, Darrin M. York, Linfeng Zhang, and Han Wang. “DeePMD-kit v3: A Multiple-Backend Framework for Machine Learning Potentials.” Journal of Chemical Theory and Computation 21 (2025): 4375–4385. DOI: 10.1021/acs.jctc.5c00340.

Follow the citation guide for the method-specific publications required by the models and features used in your work.

Note

DeePMD-kit is licensed under the GNU LGPL-3.0-or-later.

Indices#