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.2.tar.gz (11.7 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.2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metatomic_torchsim-0.1.2.tar.gz
  • Upload date:
  • Size: 11.7 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.2.tar.gz
Algorithm Hash digest
SHA256 6eecf2fcd686fd0c39617f1f2823d91e30126980aef223585129feb4f41fcb0f
MD5 413a7dd06cc892c54659e6451daeef74
BLAKE2b-256 7dbe8fc5cc94ba0c1405c261cd4dc4c1cfd212e9a5a7c130beda58eb829d3b5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for metatomic_torchsim-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4db259a380abe83daed3abc5583628bbdc72fad09676ab239d939802eaefa1bf
MD5 831eafb43979d3f9d4f5356de14dc128
BLAKE2b-256 7f526b32f0e6720d0bad69d22bd4058ee16f74a6706a04fe51dce9e62dbe4071

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