TorchSim integration for metatomic models
Project description
metatomic-torchsim
TorchSim integration for metatomic models.
This package allows you to wrap metatomic models as TorchSim ModelInterface
instances, enabling their use in TorchSim molecular dynamics and other
simulation workflows.
Installation
pip install metatomic-torchsim
Usage
from metatomic_torchsim import MetatomicModel
# From a saved .pt model
model = MetatomicModel("model.pt", device="cuda")
# Use with TorchSim
output = model(sim_state)
energy = output["energy"]
forces = output["forces"]
stress = output["stress"]
For full documentation, see the torch-sim engine page in metatomic documentation.
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 metatomic_torchsim-0.1.1.tar.gz.
File metadata
- Download URL: metatomic_torchsim-0.1.1.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f8c40dee504de87d044ab0ea85d72638753ec114cf36acc4437bef77fe787c7
|
|
| MD5 |
9a2b3f401390cc2a562dac52dcdf19b6
|
|
| BLAKE2b-256 |
048144c1ef2b414f70c756ca8d5d1fbed745018f282280ade67c95176d751b67
|
File details
Details for the file metatomic_torchsim-0.1.1-py3-none-any.whl.
File metadata
- Download URL: metatomic_torchsim-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0744e97616f9dddb24044e7265e1e04ce93178bf0326ff54b3b8d69b03463e7
|
|
| MD5 |
346965401d3618706878ef51bdb66659
|
|
| BLAKE2b-256 |
d4c82b292fb00be49343490a6f072590ca7d36b34b82764c431fad6081d0a2ca
|