Skip to main content

Standalone CPU and GPU inference runtime for Uni-pKa

Project description

unipkainfer

unipkainfer is a standalone, inference-only packaging of Uni-pKa, Uni-Mol, and the minimal pure-Python Uni-Core runtime they require. It supports CPU and single-GPU inference through PyTorch and does not build Uni-Core's optional fused CUDA extensions.

This distribution contains code derived from Uni-pKa (Apache-2.0), and code derived from Uni-Mol and Uni-Core (MIT). Copyright and license notices are preserved in the accompanying license and third-party notice files.

Installation

python -m pip install unipkainfer
unipka-download-model

By default, model checkpoints are downloaded to the user data directory. On Linux this is normally:

~/.local/share/unipkainfer/models

Choose another location when needed:

unipka-download-model --output-folder /path/to/models

Python API

from rdkit import Chem
from unipkainfer import predict_standard_free_energy

free_energy = predict_standard_free_energy(Chem.MolFromSmiles("CCO"))

Use UnipkaFreeEnergyConfig(model_dir=...) to override the default model location. A CUDA-enabled PyTorch installation and compatible NVIDIA driver are required for GPU inference.

See THIRD_PARTY_NOTICES.md, unipkainfer/unicoreinfer/UPSTREAM.md, and the included licenses for upstream provenance.

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

unipkainfer-0.1.0.tar.gz (96.8 kB view details)

Uploaded Source

Built Distribution

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

unipkainfer-0.1.0-py3-none-any.whl (140.9 kB view details)

Uploaded Python 3

File details

Details for the file unipkainfer-0.1.0.tar.gz.

File metadata

  • Download URL: unipkainfer-0.1.0.tar.gz
  • Upload date:
  • Size: 96.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for unipkainfer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3643094aa27c14654324f71f76e98c8f648ed0d0f343f98cb4ae01139b22a2b5
MD5 6449428cbcbddc979b6072cab2d37a89
BLAKE2b-256 875aff1b40dfc6605860a8d13d0cb5ba57b31a42bf8824872fefd759082ee87f

See more details on using hashes here.

Provenance

The following attestation bundles were made for unipkainfer-0.1.0.tar.gz:

Publisher: publish-pypi.yml on bindresearch/unipkainfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file unipkainfer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: unipkainfer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 140.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for unipkainfer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8023beed1ebdcb91d92c00dd0b3e4e70ada26538ed1f2f0ccb0bec7061a3d25a
MD5 94802513a43dfe5842a822b49b20e4b4
BLAKE2b-256 6198b99f16cf4609ae771a91e99239fc2b6e4f3f6757fc7adc2b9e6e0718e8b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for unipkainfer-0.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on bindresearch/unipkainfer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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