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

Uploaded Python 3

File details

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

File metadata

  • Download URL: metatomic_torchsim-0.1.3rc1.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.3rc1.tar.gz
Algorithm Hash digest
SHA256 751d26ccca46c8670f58f5b75627e7a79149b20418d106149ac53ee271a8a891
MD5 cbb41accba6fd1808f80e5fbf6136393
BLAKE2b-256 2f76f03ed5796c81dbab860fa335b265db3f54d9c5473ff8b6a58350eccc2f2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for metatomic_torchsim-0.1.3rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 77b409248b680b08d7ff09f8296de4d3bfd1b28d0f7a36d427cf742ecdbb85ad
MD5 e71d9a73ef5f0021ab81f614f45e49c4
BLAKE2b-256 e7c974f949659e5a1eaaf328fde3b387212bee41af9730d2a01f5989f88ec7e0

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