GPU-accelerated molecular 3D coordinate generation on Apple Silicon using MLX
Project description
mlxmolkit
GPU-accelerated molecular 3D coordinate generation on Apple Silicon using MLX.
mlxmolkit is a drop-in replacement for RDKit's ETKDG conformer generation that runs on Apple Silicon GPUs via the MLX framework. It matches the interface of NVIDIA's nvMolKit EmbedMolecules, bringing hardware-accelerated molecular embedding to Mac.
Installation
pip install mlxmolkit
Quick Start
from rdkit import Chem
from rdkit.Chem import AllChem
from mlxmolkit import EmbedMolecules
# Prepare molecules
smiles = ["CCO", "c1ccccc1", "CC(=O)Oc1ccccc1C(=O)O"]
molecules = [Chem.AddHs(Chem.MolFromSmiles(s)) for s in smiles]
# Configure ETKDG parameters
params = AllChem.ETKDGv3()
params.useRandomCoords = True
# Generate conformers on GPU
EmbedMolecules(molecules, params, confsPerMolecule=10)
Supports all standard ETKDG variants: ETKDG, ETKDGv2, ETKDGv3, srETKDGv3, KDG, ETDG, and pure DG.
Requirements
- macOS with Apple Silicon (M1/M2/M3/M4)
- Python >= 3.12
Dependencies
License
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mlxmolkit-0.1.0.tar.gz.
File metadata
- Download URL: mlxmolkit-0.1.0.tar.gz
- Upload date:
- Size: 383.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ce02ca26f990d806ba490405a71e46ff977867de7deb6a0cf06ded51c33714a
|
|
| MD5 |
d69b8e5158991f49237e064d876be3e0
|
|
| BLAKE2b-256 |
0109dcf0505e15c7d39bdb8530e558dcc5061c7411cd3840faf41adc273bf4f5
|
Provenance
The following attestation bundles were made for mlxmolkit-0.1.0.tar.gz:
Publisher:
publish.yml on shivampatel10/mlxmolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mlxmolkit-0.1.0.tar.gz -
Subject digest:
6ce02ca26f990d806ba490405a71e46ff977867de7deb6a0cf06ded51c33714a - Sigstore transparency entry: 1107797138
- Sigstore integration time:
-
Permalink:
shivampatel10/mlxmolkit@e66e915af9ce878121a074d7515757ed4800aa42 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/shivampatel10
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e66e915af9ce878121a074d7515757ed4800aa42 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mlxmolkit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mlxmolkit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 82.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73fa91c73cebf5dba9a107131132cd5875ec9cf1a253b033192f0ead931e47cc
|
|
| MD5 |
2bcefc0c217cb6159c2fccb825f682ca
|
|
| BLAKE2b-256 |
4ec45184b7bdefd940316c805be6ae6b886cbd2064d7646a599d7740c6212274
|
Provenance
The following attestation bundles were made for mlxmolkit-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on shivampatel10/mlxmolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mlxmolkit-0.1.0-py3-none-any.whl -
Subject digest:
73fa91c73cebf5dba9a107131132cd5875ec9cf1a253b033192f0ead931e47cc - Sigstore transparency entry: 1107797141
- Sigstore integration time:
-
Permalink:
shivampatel10/mlxmolkit@e66e915af9ce878121a074d7515757ed4800aa42 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/shivampatel10
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e66e915af9ce878121a074d7515757ed4800aa42 -
Trigger Event:
release
-
Statement type: