Skip to content

SimMS v1.0.0 (simms-gpu): matchms 1.0, 9 GPU scorers, issues #6/#9 fixes, multi-GPU validated - #12

Merged
tornikeo merged 10 commits into
mainfrom
revive/v1.0.0
Dec 2, 2026
Merged

tornikeo merged 10 commits into
mainfrom
revive/v1.0.0

Conversation

@tornikeo

@tornikeo tornikeo commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Revives and upgrades SimMS to v1.0.0 (PyPI distribution simms-gpu, preserving import simms), cleanly targeting matchms >= 1.0.0 and Python 3.11–3.14.

Highlights

  • Fixes open issues:
  • Full matchms 1.0.0 compatibility: BaseSimilarityWithSparse, unprefixed Scores, calculate_scores, GPU-filtered sparse_matrix(..., min_score=...), to_dict(), and 1.0.0 preprocessing defaults.
  • 9 GPU-accelerated similarity & networking methods:
    • Upgraded CudaCosineGreedy, CudaModifiedCosineGreedy (alias CudaModifiedCosine), and tiled CudaFingerprintSimilarity
    • Added CudaNeutralLossesCosine, CudaEntropyGreedy (fragment/neutral-loss/hybrid, Da & ppm, weighted & unweighted), CudaCosineLinear, CudaModifiedCosineLinear, CudaBinnedEmbeddingSimilarity, and clean-room MIT-licensed CudaTransitiveAlignment.
  • Packaging & CI: simms-gpu distribution name (resolving the PyPI simms collision), Python 3.11–3.14 CI matrix, cu12/cu13/fingerprints extras, version-gated Trusted Publishing release workflow.
  • Credits: Builds on and thanks @BioGeek for Support Python 3.11–3.14, numba ≥ 0.61 with numba-cuda, and matchms 0.34 #10 (Python 3.11–3.14 & numba-cuda) and Accept spectra as padded peak arrays, and return scores as a device tensor #11 (PeakArrays & GPU Torch tensor outputs).

Verification

  • Local RTX 4060 Laptop (CUDA 13.2): 341/341 pytest passed + NIST 23 multi-instrument parity & stress validation (APCI, LR Ion-Trap, HR Q-TOF/Orbitrap).
  • Vast.ai RTX 4090 ([cu12,fingerprints], CUDA 12.8): 341/341 pytest passed; up to 57.96M pairs/s (CudaCosineLinear) and 50.71M pairs/s GPU-filtered sparse.
  • Vast.ai A100-SXM4-80GB ([cu13,fingerprints], CUDA 13.2): 341/341 pytest passed; 0.097 s warm 1,024-spectrum CudaTransitiveAlignment.
  • CUDA simulator CI (-m github_ci): 322/322 passed, strict flake8 clean, twine check --strict passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AttributeError: 'numpy.ndarray' object has no attribute '_peaks' Different Scores in CudaCosineGreedy and CosineGreedy

1 participant