Repository navigation
0.8.0 - 2026-12-01
Summary
nvMolKit 0.8.0 adds BitBIRCH clustering, k-means clustering, and exact top-k nearest-neighbor search over fingerprints with FingerprintSearchIndex. It also adds support for RDKit 2026.09 in ETKDG conformer generation, including the ETKDGv4 preset and RDKit's all-in-one refinement, and adds DCLV surface and volume properties and EEM partial charges to the 3D descriptor API. This release supports RDKit 2025.09.6, 2026.03.1 through 2026.03.6, and 2026.09.2. It does not support RDKit 2026.09.1, whose installed development headers are incomplete (rdkit/rdkit#9700).
Contributors
- Bradley Worley (@geekysuavo)
- Eva Xue (@evasnow1992)
- Kevin Boyd (@scal444)
- Siddhardha Nanda (@SID-6921)
Features
- BitBIRCH clustering of fingerprints with
nvmolkit.clustering.bitbirch, with optional cluster centroids (#321) - k-means clustering of fingerprints with
nvmolkit.clustering.kmeans, under Tanimoto or cosine similarity. Requires a GPU of compute capability 8.0 or newer (#381) - Exact top-k fingerprint similarity search with
nvmolkit.similarity.FingerprintSearchIndex, without forming the full similarity matrix (#383, #392) - ETKDGv4 support in
EmbedMolecules, including its Gaussian experimental torsions. Requires RDKit 2026.09 or later (#365, #366) - RDKit's all-in-one ETKDG refinement (
useLegacyImplementation=False) inEmbedMolecules, on RDKit 2026.03.4 and later (#287) - DCLV 3D descriptors in
Calc3DProperties: surface area, polar surface area, volume, van der Waals volume, polar volume, compactness, and packing density, matching RDKit'sDoubleCubicLatticeVolume(#373) - EEM partial charges in
Calc3DProperties(Property3D.EEM_CHARGES), matching RDKit'sCalcEEMcharges(#376) - RDKit 2026.09 support, including its changes to ETKDG setup (#364, #384)
Performance Improvements
- Fused Butina clustering is up to 2.4x faster, depending on the dataset (#385)
- GETAWAY 3D descriptors are faster, through a parallel implementation of the leverage clustering behind the ITH and ISH values (#379)
- DFS substructure search no longer allocates partial-match overflow buffers, which only the GSI algorithm uses, reducing its GPU memory use (#453)
Breaking Changes
- On RDKit 2026.09 and later,
EmbedMoleculesraisesValueErrorforEmbedParameterssettings it does not implement, instead of ignoring them:embedForceField=MMFF,onlyInitialEmbedding=True, andinitialEmbeddingMode=INTERNAL_COORDINATE_EMBEDDING(#384)
Bug Fixes
- Fix AAP similarity always using every CPU core for descriptor generation. The limit is now set with
AAPMetric(num_threads=...)(#368) - Fix a crash on Blackwell (sm_100) GPUs in
fused_butina, and infused_leaderandfused_maxminwith the AAP metric (#374) - Fix substructure queries and recursive patterns of 65 to 128 atoms, which made every query in the call return no matches. Queries over the 64-atom limit now raise an error (#412)
- Fix
getSubstructMatchesapplyingmaxMatchesbefore removing duplicate matches, which dropped unique matches for symmetric queries. Duplicates are now removed first, as in RDKit (#413) - Fix SMARTS bond queries that combine bond orders with AND, OR, negation, or ring terms (for example
-!:,=,#,-@,=,!@;!=), which gave different matches than RDKit. Unsupported bond queries now raise an error instead of matching any bond (#429, #430, #431) - Fix low counts and missed matches in
countSubstructMatchesandhasSubstructMatchwhen the GSI search ran out of partial-match storage. These pairs now fall back to RDKit, as ingetSubstructMatches(#432) - Fix a hang in DFS substructure search on a query with no atoms. Such a query now returns no matches, as in RDKit (#426)
- Fix a possible crash when a recursive SMARTS query is shared by concurrent
SubstructLibrarysearches, or used with RDKit while a search is pending (#427) - Fix
randomSeedhaving no effect on starting coordinates withuseRandomCoords=TrueinEmbedMolecules. Starting coordinates now follow the seed (#411) - Fix a crash in
EmbedMoleculesand a race in TFD batches when the same molecule appears more than once in the input. Both now raise an error naming the repeated positions (#408, #410) - Fix the order of
output=DEVICEconformer results, which followed batch completion instead of input order, soper_molecule()andenergiescould pair conformers with the wrong entries when a call spanned several batches (#404) - Fix drift in
BatchedForcefieldposition constraints andrelative=Truedistance constraints over repeatedminimize()calls. Their reference is now set when the constraint is added, as in RDKit (#405) - Fix the UFF inversion gradient for three-coordinate P, As, Sb, and Bi, which did not match the energy (#406)
- Fix TFD batch calls terminating the process on a molecule without conformers or ring information. They now raise the same error as a single-molecule call (#407)
- Fix TFD results with
return_type="tensor"being returned before the GPU finished writing them (#409) - Fix
crossTanimotoSimilarityand the other cross-similarity functions failing when one input had more than 4,194,240 rows (#415) - Fix Morgan fingerprints and chunked cross-similarity running worker threads on GPU 0 or an unset device instead of the caller's GPU (#416)
- Fix a Morgan fingerprint worker error freeing the output buffer while other workers were still writing to it, which could corrupt later allocations (#414)
- Fix the first valid call after a CUDA error, such as out-of-memory, failing with that earlier error (#403)
- Fix
Device3DResult.dense()failing with a CUDA index error when a molecule's conformer indices had gaps, as when some conformers were dropped (#454)