TorchMD
About
TorchMD intends to provide a simple to use API for performing molecular dynamics using PyTorch. This enables researchers to more rapidly do research in force-field development as well as integrate seamlessly neural network potentials into the dynamics, with the simplicity and power of PyTorch.
TorchMD uses chemical units consistent with classical MD codes such as ACEMD, namely kcal/mol for energies, K for temperatures, g/mol for masses, and Å for distances.
TorchMD is currently WIP so feel free to provide feedback on the API or potential bugs in the GitHub issue tracker.
Also check TorchMD-Net for fast and accurate neural network potentials https://github.com/torchmd/torchmd-net/
Citation
Please cite:
@misc{doerr2020torchmd,
title={TorchMD: A deep learning framework for molecular simulations},
author={Stefan Doerr and Maciej Majewsk and Adrià Pérez and Andreas Krämer and Cecilia Clementi and Frank Noe and Toni Giorgino and Gianni De Fabritiis},
year={2020},
eprint={2012.12106},
archivePrefix={arXiv},
primaryClass={physics.chem-ph}
}
To reproduce the paper go to the tutorial notebook https://github.com/torchmd/torchmd-cg/blob/master/tutorial/Chignolin_Coarse-Grained_Tutorial.ipynb
License
Note. All the code in this repository is MIT, however we use several file format readers that are taken from Moleculekit which has a free open source non-for-profit, research license. This is mainly in torchmd/run.py. Moleculekit is installed automatically being in the requirement file. Check out Moleculekit here: https://github.com/Acellera/moleculekit
Installation
We recommend installing TorchMD in a new python environment ideally through the Miniforge package manager.
mamba create -n torchmd
mamba activate torchmd
mamba install pytorch python=3.10 -c conda-forge
pip install "torchmd[full]" --extra-index-url https://download.pytorch.org/whl/cu126
# Instead of the full installation you can also choose to only install the bare minimum dependencies with
pip install torchmd --extra-index-url https://download.pytorch.org/whl/cu126
Examples
Various examples can be found in the examples folder on how to perform dynamics using TorchMD.
Help and comments
Please use the github issue of this repository.
Acknowledgements
We would like to acknowledge funding by the Chan Zuckerberg Initiative and Acellera in support of this project. This project will be now developed in collaboration with openMM (www.openmm.org) and acemd (www.acellera.com/acemd).
Metadata
Release files for torchmd 1.1.2
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 |
|---|---|---|---|---|
| torchmd-1.1.2.tar.gz | 29.7 kB | Without provenance | Details for torchmd-1.1.2.tar.gz |
Release files / torchmd-1.1.2.tar.gz
| Download URL | torchmd-1.1.2.tar.gz |
|---|---|
| Size | 29.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
081cf04a28368d856b58bad6523b69124df6e537d0c2f21e4e0aaf97014ba5a5
|
|
BLAKE2b-256 checksum How to use checksums |
48fefdcea696f81a7c93e21d6ae0ed34a75309a16257b122d4d011e5decf963d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for torchmd 1.1.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.