Skip to content

Ensure finite values passed to SpectralEmbedding#7280

Merged
rapids-bot[bot] merged 1 commit intorapidsai:branch-25.10from
jcrist:ensure-finite-values-spectral-embedding
Sep 29, 2025
Merged

Ensure finite values passed to SpectralEmbedding#7280
rapids-bot[bot] merged 1 commit intorapidsai:branch-25.10from
jcrist:ensure-finite-values-spectral-embedding

Conversation

@jcrist
Copy link
Copy Markdown
Member

@jcrist jcrist commented Sep 29, 2025

The C++ implementation doesn't support non-finite values. Sometimes this results in a failure-to-converge error, sometimes this results in an illegal memory access (and downstream failures eventually leading to potential segfaults).

I believe this to be the root cause of #7274 (if we see a failure, it's preceded by illegal memory accesses here). I've run things locally a bunch after this fix and haven't seen a failure, going to try it in CI.

Fixes #7274.

The C++ implementation doesn't support non-finite values. Sometimes this
results in a failure-to-converge error, sometimes this results in an
illegal memory access (and downstream failures eventually leading to
potential segfaults).
@jcrist jcrist requested a review from a team as a code owner September 29, 2025 19:03
@jcrist jcrist requested a review from divyegala September 29, 2025 19:03
@jcrist jcrist self-assigned this Sep 29, 2025
@github-actions github-actions Bot added the Cython / Python Cython or Python issue label Sep 29, 2025
@jcrist jcrist added bug Something isn't working non-breaking Non-breaking change cuml-accel Issues related to cuml.accel algo: spectral-embedding Cython / Python Cython or Python issue and removed Cython / Python Cython or Python issue labels Sep 29, 2025
Comment thread python/cuml/cuml/manifold/spectral_embedding.pyx
@jcrist
Copy link
Copy Markdown
Member Author

jcrist commented Sep 29, 2025

/merge

@rapids-bot rapids-bot Bot merged commit c14f29a into rapidsai:branch-25.10 Sep 29, 2025
108 checks passed
@jcrist jcrist deleted the ensure-finite-values-spectral-embedding branch September 29, 2025 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

algo: spectral-embedding bug Something isn't working cuml-accel Issues related to cuml.accel Cython / Python Cython or Python issue non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] scikit-learn integration test segfault (flaky)

3 participants