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.4.tar.gz (12.6 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.4-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metatomic_torchsim-0.1.4.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for metatomic_torchsim-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d5a4aeb2868ae9e91594cbfcc75188a142bb7f70abecc3ab7e3fbd12653fb417
MD5 2ced990e929045df7ba450e87ba669d4
BLAKE2b-256 925858b2d8475563c98f3ca073a843aed325a5ad6c639884ca739a18190220e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for metatomic_torchsim-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0d054bfea871ce8d82544357394bf080c0897fa1c4858d87e3b7e2c4cea1e031
MD5 a2eff62db6ddb0fb3e5ba4387f7ebcaa
BLAKE2b-256 37868391c684ef46d3d3eccff8b941ea3e3a4c0b9f7573048e9188a322997394

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