Read this first: speed against accuracy

The fused kernel is faster than RDKit on 14 threads only at 200 iterations, where 32% of conformers reach RDKit’s energy. Cost grows linearly with iterations, so at matched accuracy Metal is ~6× behind RDKit-14T and level with RDKit on one thread.

02550751000.00.40.81.21.6RDKit 14TRDKit 1T200 it500 it1,000 it2,000 itMulti, 1,000 and 2,000 itFused kernelfaster thanRDKit 14TMilliseconds per conformerWithin 0.1 kcal/mol of RDKit (%)
Each point is one iteration budget. The shaded band is faster than RDKit on 14 threads.

MMFF on Metal against RDKit, at matched accuracy

50 molecules × 50 conformers = 2,500 conformers, 9–49 atoms, quiet machine, a fresh Chem.Mol per method. ΔE in kcal/mol against RDKit.

MethodTotalms/confvs RDKit 14TMean |ΔE|Within 0.1
RDKit, 1 thread3.98 s1.590.13×——
RDKit, 14 threads0.50 s0.201.00×0.000—
Fused, 200 iterations0.41 s0.161.22×1.742800
Fused, 500 iterations0.84 s0.340.59×0.5201,431
Fused, 1,000 iterations1.59 s0.640.31×0.2032,019
Fused, 2,000 iterations3.10 s1.240.16×0.0732,326
Multi, 1,000 iterations3.39 s1.360.15×0.0152,470
Multi, 2,000 iterations3.69 s1.480.13×0.0152,470

Three ways to measure this wrong

  1. mmff_optimize_batch(mol, conf_ids) batches the conformers of one molecule: ~10 wide, so it measures kernel dispatch, not throughput. Use the multi-molecule entry points.
  2. MMFFOptimizeMoleculeConfs optimises in place. Reusing a molecule across methods re-converges a minimum; take a fresh Chem.Mol(m) per method.
  3. Benchmark on a quiet machine. A loaded one flatters the GPU against a 14-thread CPU baseline.

Throughput

Conformer generation at scale

N molecules × k conformers per molecule, every stage on Metal, no RDKit post-processing.

ScalePipelineTimeConformers/sConverged
N = 1,000, k = 10DG + ETK5.0 s2,01799.7%
N = 1,000, k = 10DG + ETK + MMFF8.0 s1,25099.7%
N = 10,000, k = 1DG + ETK17.7 s56599.6%
N = 10,000, k = 1DG + ETK + MMFF37.9 s26499.6%
N = 10,000, k = 10DG + ETK38.1 s2,62599.7%
N = 10,000, k = 10DG + ETK + MMFF67.9 s1,47399.7%

Batch size

20 molecules × 50 conformers. Fewer, larger batches mean fewer kernel launches; the default picks the largest batch that fits.

BatchBatchesTimeConformers/s
100100.62 s1,610
50020.29 s3,394
1,000+10.22 s4,442

Clustering

Butina clustering

Enamine REAL subset, Morgan fingerprints, Tanimoto cutoff 0.4. Above 100,000 molecules the neighbour search runs blockwise in bounded memory.

MoleculesSimilarity → CSRButinaTotalvs RDKitMemory
20,0000.26 s0.09 s0.35 s152×0.1 MB
50,0001.26 s0.36 s1.62 s—0.5 MB
100,0004.87 s0.97 s5.84 s—1.3 MB

Quality against RDKit

Conformer quality, rescored by RDKit’s MMFF94

k = 20, ETKDGv2. RMSD and ΔE (kcal/mol) to the closest RDKit conformer, before and after MMFF optimisation.

MoleculeAtomsRMSD before MMFFRMSD after MMFFΔE
Benzene120.12 Å0.00 Å0.0
Aspirin210.98 Å0.00 Å0.0
Ibuprofen331.79 Å0.96 Å0.6
Acetaminophen200.99 Å0.00 Å0.0

Bond lengths and angles match RDKit within 0.03 Å; after MMFF the energy gap is under 1 kcal/mol.

Memory

GPU memory per conformer

BFGS keeps a dense (3n)² Hessian, so it grows as O(n²); the pipeline switches to L-BFGS above ~150 atoms.

AtomsDG (4D)ETK (3D)MMFF, BFGSMMFF, L-BFGS
51.9 KB1.4 KB1.3 KB1.4 KB
124.4 KB3.3 KB6.0 KB3.3 KB
217.6 KB5.7 KB17.2 KB5.7 KB
3010.8 KB8.1 KB34.1 KB8.1 KB
5018.0 KB13.5 KB92.0 KB13.5 KB
6423.1 KB17.3 KB149.2 KB17.3 KB

GPU memory stays constant as the number of conformers grows: 2.6 MB for 10,000 conformers at batch 500, because batches are processed one after the other.