Backport: Relax lanczos gtest tolerance - #3142
Merged
Merged
Conversation
This was too tight of a tolerance causing a flaky test. ``` [ RUN ] LanczosTests/LanczosTestD_SM.Result/0 /tmp/conda-bld-output/bld/rattler-build_libraft-headers-only/work/cpp/tests/sparse/solver/lanczos.cu:425: Failure The difference between host_eigenvalues[i] and expected[i] is 9.9339252102037534e-12, which exceeds tol, where host_eigenvalues[i] evaluates to 0.013678224628902495, expected[i] evaluates to 0.01367822461896857, and tol evaluates to 1.1695277001426182e-12. eigenvalue 1 (which=3) is not part of the requested selection: got=0.013678224628902495 expected (from independent dense reference spectrum)=0.01367822461896857 [ FAILED ] LanczosTests/LanczosTestD_SM.Result/0, where GetParam() = 112-byte object <02-00 00-00 14-00 00-00 A0-86 01-00 00-00 00-00 00-00 00-00 7D-1D 90-26 03-00 00-00 00-00 00-00 2A-00 00-00 00-00 00-00 90-BB A0-E2 B7-5C 00-00 24-BD A0-E2 B7-5C 00-00 24-BD A0-E2 B7-5C 00-00 10-25 A1-E2 B7-5C 00-00 10-37 A1-E2 B7-5C 00-00 10-37 A1-E2 B7-5C 00-00 20-37 A1-E2 B7-5C 00-00 20-5B A1-E2 B7-5C 00-00 20-5B A1-E2 B7-5C 00-00> (55889 ms) [----------] 1 test from LanczosTests/LanczosTestD_SM (55889 ms total) ``` Authors: - Anupam (https://github.com/aamijar) - Divye Gala (https://github.com/divyegala) Approvers: - Divye Gala (https://github.com/divyegala) URL: NVIDIA#3137
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughChangesLanczos eigenvalue tolerance
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This adjusts double-precision Lanczos test tolerance to accommodate observed cross-platform variation while retaining existing correctness checks. No current merge-blocking risk remains. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
aamijar
approved these changes
Sep 8, 2026
divyegala
approved these changes
Sep 8, 2026
Contributor
|
/merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backports #3137 to
release/26.10to stabilize CI.