-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] TiledKNNTest fails #1526
Labels
bug
Something isn't working
Comments
@enp1s0 thanks for the heads up - I'm taking a look |
benfred
added a commit
to benfred/raft
that referenced
this issue
May 18, 2023
The TiledKNNTest test was faiiling - and it seems to be because the matrix::select_k code isn't guaranteed to return elements in sorted order. The test was expecting outputs to be sorted, and was failing because of it. This change fixes the test to sort the outputs before comparing. Closes rapidsai#1526
It looks like the problem was just in the unittest - with the test expecting sorted outputs, and the matrix::select_k not guaranteeing that outputs will be sorted. Fix is in #1533 |
rapids-bot bot
pushed a commit
that referenced
this issue
May 18, 2023
The TiledKNNTest test was faiiling - and it seems to be because the matrix::select_k code isn't guaranteed to return elements in sorted order. The test was expecting outputs to be sorted, and was failing because of it. This change fixes the test to sort the outputs before comparing. Closes #1526 Authors: - Ben Frederickson (https://github.com/benfred) - Corey J. Nolet (https://github.com/cjnolet) Approvers: - Corey J. Nolet (https://github.com/cjnolet) URL: #1533
Thanks for fixing the bug! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is an issue with the TiledKNNTest in the latest branch-23.06 (commit 8e412b4), as it fails. However, it works properly when reverting 6fdb041 .
@benfred, can you provide any insight into what might be causing this issue?
test log
ref: https://github.com/rapidsai/raft/actions/runs/5010580599/jobs/8981566095?pr=1514
The text was updated successfully, but these errors were encountered: