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.
Release files for metatomic-torchsim 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| metatomic_torchsim-0.1.6.tar.gz | 12.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| metatomic_torchsim-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.5 kB
Release files / metatomic_torchsim-0.1.6.tar.gz
| Download URL | metatomic_torchsim-0.1.6.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ebcff4e4161f84a61c70eec9599b7b52b0960ac2f8b1f59ca4abd69335aa8b2
|
|
BLAKE2b-256 checksum How to use checksums |
f03093865a72fe996c43c9f684e30d5eb3c3b6a5695e1a0b3478a7ee6a5a2f9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / metatomic_torchsim-0.1.6-py3-none-any.whl
| Download URL | metatomic_torchsim-0.1.6-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d03b570e7151da51b2d54ddd2de41dbb76f0657579da0a832476f2417b24ee68
|
|
BLAKE2b-256 checksum How to use checksums |
8e587d407d26d76634d1b16975bf127b68834a05181ba1c65875ca762500737f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|