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.3.tar.gz (12.1 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.3-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file metatomic_torchsim-0.1.3.tar.gz.

File metadata

  • Download URL: metatomic_torchsim-0.1.3.tar.gz
  • Upload date:
  • Size: 12.1 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.3.tar.gz
Algorithm Hash digest
SHA256 43a8166861bc60e45ab89ce246932872ec03bbdb0c944bdda2af180f79690c6a
MD5 b67613650315d014a2cc5c0e439d0e85
BLAKE2b-256 49129b0a26210bd490967d93f2bf11f7363dbc38d2e69f6aaa2dfdba7fa9dfb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for metatomic_torchsim-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d83eab1373d66f768cdf275d6a82994b70e0b288e8f2e0cd7608007d5b18d1f0
MD5 8be02d516178b4e3f40cf52dff159976
BLAKE2b-256 0ef40a5393f22ccfd66e06439c90b3f0ceae7fc1e5bbbb9cc3fbf481c22a3028

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