Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metatomic_torchsim-0.1.1.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metatomic_torchsim-0.1.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

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

Hashes for metatomic_torchsim-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7f8c40dee504de87d044ab0ea85d72638753ec114cf36acc4437bef77fe787c7
MD5 9a2b3f401390cc2a562dac52dcdf19b6
BLAKE2b-256 048144c1ef2b414f70c756ca8d5d1fbed745018f282280ade67c95176d751b67

See more details on using hashes here.

File details

Details for the file metatomic_torchsim-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for metatomic_torchsim-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c0744e97616f9dddb24044e7265e1e04ce93178bf0326ff54b3b8d69b03463e7
MD5 346965401d3618706878ef51bdb66659
BLAKE2b-256 d4c82b292fb00be49343490a6f072590ca7d36b34b82764c431fad6081d0a2ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page