Skip to content

v0.8.0

Latest

Choose a tag to compare

@scal444 scal444 released this 30 Nov 15:37
· 2 commits to main since this release
900ea75

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

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) in EmbedMolecules, 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's DoubleCubicLatticeVolume (#373)
  • EEM partial charges in Calc3DProperties (Property3D.EEM_CHARGES), matching RDKit's CalcEEMcharges (#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, EmbedMolecules raises ValueError for EmbedParameters settings it does not implement, instead of ignoring them: embedForceField=MMFF, onlyInitialEmbedding=True, and initialEmbeddingMode=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 in fused_leader and fused_maxmin with 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 getSubstructMatches applying maxMatches before 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 countSubstructMatches and hasSubstructMatch when the GSI search ran out of partial-match storage. These pairs now fall back to RDKit, as in getSubstructMatches (#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 SubstructLibrary searches, or used with RDKit while a search is pending (#427)
  • Fix randomSeed having no effect on starting coordinates with useRandomCoords=True in EmbedMolecules. Starting coordinates now follow the seed (#411)
  • Fix a crash in EmbedMolecules and 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=DEVICE conformer results, which followed batch completion instead of input order, so per_molecule() and energies could pair conformers with the wrong entries when a call spanned several batches (#404)
  • Fix drift in BatchedForcefield position constraints and relative=True distance constraints over repeated minimize() 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 crossTanimotoSimilarity and 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)

Miscellaneous

  • Python wheels are smaller, because CUDA kernels are no longer duplicated across extension modules (#390)
  • Python 3.15 wheels for RDKit 2026.09.2 (#399)