Skip to content

Release simms-gpu 1.2.0: Certified CPU & CUDA Myopic MCES (4.62 s / 1M GNPS pairs) - #14

Merged
tornikeo merged 2 commits into
mainfrom
feat/mces-pdhg-v1.2
Dec 3, 2026
Merged

tornikeo merged 2 commits into
mainfrom
feat/mces-pdhg-v1.2

Conversation

@tornikeo

@tornikeo tornikeo commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Brings the exact certified Myopic MCES v2 engine to simms-gpu 1.2.0 as a pure-Python py3-none-any wheel (Numba @njit(parallel=True) + @cuda.jit, zero C++ build dependencies, full NUMBA_ENABLE_CUDASIM=1 support):

  • backend="cuda" | "cpu" | "auto" on CudaMyopicMCES (default "cuda", 100% backward compatible).
  • Exact-hit histogram screen (0.451 ms CUDA device time on 1M pairs, 96.15% pruned) + Hungarian assignment + 2-opt + 8,192-frame native search.
  • Staged batched PDHG (FP32 first-order LP) paired with exact dyadic integer dual certificates, star/LAP projection bounds, reduced-cost core search, disjunctive ring-edge LP cuts, and compiled oriented-edge HiGHS fallback.
  • Dense always_stronger_bound=True parity preserved (every rejected pair still returns the upstream filter2 bound; all survivors benefit from the new PDHG + certificate pipeline).
  • Bounded greedy cosine local scratch (LOCAL_CANDIDATES = 512) cutting peak test-suite VRAM from 1,616 MiB to 686 MiB.

Verification

  • 1,000,000 real GNPS pairs (threshold=10.0, RTX 4060 Laptop + 8 i9-14900HX P-cores, 3-run warm medians, 100% exact match on all 11,245 hits & all 1,000,000 dense scores):
    • backend="cuda": 4.62 s sparse exact hits (308× vs v1.1 CPU), 7.82 s dense strongest bounds (167× vs v1.1 GPU), 226 MiB peak VRAM.
    • backend="cpu": 11.01 s sparse exact hits (129× vs v1.1 CPU), 13.22 s dense strongest bounds (108× vs v1.1 CPU).
  • 396 / 396 pytest passed on real CUDA GPU and 396 / 396 passed under NUMBA_ENABLE_CUDASIM=1.
  • Upstream myopic-mces 2.3.0 parity verified across 10 threshold/bound configurations + 484 brute-force small weighted graph pairs (2,420 exact checks).
  • Built & verified simms_gpu-1.2.0-py3-none-any.whl in a clean isolated environment with CUDA hidden.

@tornikeo
tornikeo merged commit 997ca38 into main Dec 3, 2026
8 checks passed
@tornikeo
tornikeo deleted the feat/mces-pdhg-v1.2 branch December 3, 2026 15:53
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.

1 participant