-
Notifications
You must be signed in to change notification settings - Fork 195
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
[QST] Thrust::system:system_error #1721
Comments
Small side note: we have deprecated the APIs in raft::spatial in favor of raft::neighbors. Corresponding api can be found in raft::neighbors::brute_force::knn. @benfred please correct me if this is wrong, but I believe we would want the |
Good to know, I changed it to call |
@daniellengyel can you share a minimum reproducible code example? It will help us better pinpoint whether this is a legitimate bug in RAFT or whether the example can be modified to make this work for you. |
Of course.
To load the data I get the cnpy .cpp and .h from here .
my main file
|
I also commented out the Comparator struct in Comparators.cuh. It seemed like the compiler had difficulties properly loading the functions from cuda_fp16.h. |
I have not had any luck fixing the issue. I located the error coming from
An issue that other people ran into was when using thrust with CUB like here and here. It seems to be mainly an issue with a namespace conflict which doesn't appear to be the case here. Another suggestion for solving it is given here. The recommendation is to use I am running with |
I ran it in a docker container based on When I tried to replace the Still, it seems like other people ran into similar issues here, and upgrading resolved their issue. It seems like it did the same for me. |
Sorry @daniellengyel, I meant to check up on, and respond to, this issue but I just realized it had been closed. It sounds like you may have found a fix for this issue? Just want to make sure we are providing a good experience on the RAFT side. |
No worries! I got everything working in the end. I was able to add my own distance functions and add a feature importance vector plus an indicator to the distance_op.core function to let the function know which feature it is working on. When I have time I will issue a pull request. |
Hi, I am running into an issue when running
raft::spatial::knn
with a lot of data. When I usen_samples = 10^6
,n_features = 100
,n_search_items = 1000
andk=10
I get the following errorI do not run into the same issue when
n_samples = 10^5
.I also do not get this issue when I run raft through the cuML library, even when using the larger amount of data. Would you have any suggestions?
The text was updated successfully, but these errors were encountered: