An AI-driven materials science toolkit based on PaddlePaddle.
Project description
PaddleMaterials
🚀 Introduction
PaddleMaterials is an end-to-end AI4Materials toolkit built on the PaddlePaddle deep learning framework. Designed as a data-mechanism dual-driven platform for developing and deploying foundation models in materials science, PPMat enables researchers to efficiently build AI models and accelerate material discovery using pretrained models.
🧩 Core Capabilities
| Task | Description | Typical Applications |
|---|---|---|
| Property Prediction (PP) | Predict material properties from structure | Forward design or predict formation energy, band gap, elastic moduli etc. |
| Structure Generation (SG) | Generate novel crystal structures | Inverse design or structure generation |
| Machine Learning Interatomic Potential (MLIP) | Surrogate Model for DFT as ML potentials | Molecular dynamics simulations |
| Electronic Structure (ES) | Surrogate Model for DFT to predict physical field | Predict electronic density |
| Spectrum Elucidation (SE) | Reconstruct structures from spectra | NMR structure elucidation |
| Spectrum Enhancement (SPEN) | Enhance microscopy and spectrum signals | STEM image enhancement, denoising |
🧱 Supported Materials
- Inorganic Crystals - Well-supported with multiple datasets and pretrained models
- Organic Molecules - Support for multiple datasets and pretrained models including small molecules and partial polymers
✨ Why PaddleMaterials?
- ✅ Rich Pretrained Models & AI-ready Datasets - 50+ pretrained models ready for inference and Multiple curated datasets for training
- ✅ Multi-Task Integration - Unified framework across tasks of PP, SG, MLIP, ES, SE, SPEN etc.
- ✅ Multi-Hardware Support - Full support for NVIDIA GPUs and MetaX GPUs and Intel CPUs
- ✅ Production-Ready - Easy to use with standandlize design & distributed training, mixed precision, checkpoint recovery
📑 Support Tasks
| Task | Description | Link |
|---|---|---|
| Property Prediction (PP) | Predict formation energy, band gap, elastic properties | README |
| Structure Generation (SG) | Generate new crystal structures with diffusion models | README |
| Machine Learning Interatomic Potential (MLIP) | DFT-accurate potentials for molecular dynamics | README |
| Electronic Structure (ES) | Predict electronic structure properties | README |
| Spectrum Elucidation (SE) | Reconstruct molecular structures from NMR spectra | README |
| Spectrum Enhancement (SPEN) | Enhance microscopy and spectral signals | README |
🤖 Available Pretrained Models
| Task | Models | Dataset |
|---|---|---|
| Property Prediction | MEGNet, iComformer, DimeNet++, SphereNet | MP2018, MP2024, JARVIS, QM9, etc. |
| Structure Generation | MatterGen, DiffCSP | MP20, ALEX, etc. |
| Machine Learning Interatomic Potential | CHGNet, MatterSim, SphereNet | MPTRJ, MD17, etc. |
| Electronic Structure | InfGCN | QM9_ES, MP_ES, OMol25_MC_ES, etc. |
| Spectrum Elucidation | DiffNMR | MSD_NMR, etc. |
| Spectrum Enhancement | SFIN | SFIN-HAADF/BF, etc. |
Full model list: See MODEL_REGISTRY
🚀 Get Started
🔧 Installation
Please refer to the installation document for your hardware environment. See SupportedHardwareList for more multi-hardware adaptation information.
⚡ Easy Inference
Property Prediction
Predict material formation energy using a pretrained MEGNet model:
python property_prediction/predict.py \
--model_name='megnet_mp2018_train_60k_e_form' \
--weights_name='best.pdparams' \
--cif_file_path='./property_prediction/example_data/cifs/' \
--save_path='result.csv'
Structure Generation
Generate novel crystal structures using a pretrained MatterGen model:
python structure_generation/sample.py \
--model_name='mattergen_mp20' \
--weights_name='latest.pdparams' \
--save_path='result_mattergen_mp20/' \
--mode='by_num_atoms' \
--num_atoms=4
Interatomic Potentials
Predict energy and forces using a pretrained MatterSim model:
python interatomic_potentials/predict.py \
--model_name='mattersim_1M' \
--weights_name='mattersim-v1.0.0-1M_model.pdparams' \
--cif_file_path='./interatomic_potentials/example_data/cifs/' \
--save_path='result.csv'
Electronic Structure
Predict electron density using a pretrained InfGCN checkpoint:
python electronic_structure/predict.py \
--config='electronic_structure/configs/infgcn/infgcn_qm9.yaml' \
--checkpoint='path/to/infgcn_qm9.pdparams' \
--split='validation' \
--index=0 \
--output_dir='output/infgcn_qm9/validation_0' \
--save_pred_cube
See the InfGCN prediction guide for dataset and checkpoint preparation.
Spectrum Elucidation
Run NMR spectrum elucidation using a pretrained DiffNMR checkpoint:
python spectrum_elucidation/sample.py \
--config_path='spectrum_elucidation/configs/diffnmr/DiffNMR.yaml' \
--checkpoint_path='path/to/DiffNMR_nless15_best.pdparams' \
--save_path='result_diffnmr_nless15/'
Spectrum Enhancement
Enhance STEM images using a pretrained SFIN model:
python spectrum_enhancement/predict.py \
--model_name='sfin_haadf_enhance' \
--split='val'
🏋️ Start Training
For training and fine-tuning, refer to the documentation.
🤝 Contributors & Cooperation & Community
Thanks to all contributors who have helped build PaddleMaterials!
Thanks for the following organiziton for cooprative support!
Join the PaddleMaterials WeChat group to discuss with us!
🛠️ Contribute to PaddleMaterials
For developer, please refer to architecture.
📜 License
PaddleMaterials is licensed under the Apache License 2.0.
🎓 Citation
@misc{paddlematerials2025,
title={PaddleMaterials, a deep learning toolkit based on PaddlePaddle for material science.},
author={PaddleMaterials Contributors},
howpublished = {\url{https://github.com/PaddlePaddle/PaddleMaterials}},
year={2025}
}
🙏 Acknowledgements
This repository references code from the following projects:
PaddleScience | Matgl | CDVAE | DiffCSP | MatterGen | MatterSim | CHGNet | AIRS
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ppmat-0.2.1.tar.gz.
File metadata
- Download URL: ppmat-0.2.1.tar.gz
- Upload date:
- Size: 631.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22c306dc4b5781cba7bcec5ab292657645740516f0b5da2556460eaf5c7fdf79
|
|
| MD5 |
4f53fcbbbc0c18c3963a3d00f13784d6
|
|
| BLAKE2b-256 |
d34c8382f4959d07d2109045616518fcb6131b8482ed2cfbd4e3f7a6a273c132
|
Provenance
The following attestation bundles were made for ppmat-0.2.1.tar.gz:
Publisher:
publish-pypi.yml on PaddlePaddle/PaddleMaterials
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ppmat-0.2.1.tar.gz -
Subject digest:
22c306dc4b5781cba7bcec5ab292657645740516f0b5da2556460eaf5c7fdf79 - Sigstore transparency entry: 2222349125
- Sigstore integration time:
-
Permalink:
PaddlePaddle/PaddleMaterials@e8b52c7b45eb12cbae253b8c4531aeb7c487d777 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/PaddlePaddle
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@e8b52c7b45eb12cbae253b8c4531aeb7c487d777 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ppmat-0.2.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: ppmat-0.2.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cca8804804ffded6059d258876ba3b8cef93e5ab49f294c8d4ac12b29168c521
|
|
| MD5 |
dc7bb01587c53442f2881e0bbe5b1294
|
|
| BLAKE2b-256 |
21318e968f9013b5e7248fa28405e196fbf5292c0da4c4a696c808005576d117
|
Provenance
The following attestation bundles were made for ppmat-0.2.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:
Publisher:
publish-pypi.yml on PaddlePaddle/PaddleMaterials
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ppmat-0.2.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
cca8804804ffded6059d258876ba3b8cef93e5ab49f294c8d4ac12b29168c521 - Sigstore transparency entry: 2222349353
- Sigstore integration time:
-
Permalink:
PaddlePaddle/PaddleMaterials@e8b52c7b45eb12cbae253b8c4531aeb7c487d777 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/PaddlePaddle
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@e8b52c7b45eb12cbae253b8c4531aeb7c487d777 -
Trigger Event:
push
-
Statement type: