-
Notifications
You must be signed in to change notification settings - Fork 540
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] knn.predict() results in CudaRuntimeError: Error! cudaErrorIllegalAddress reason='an illegal memory access was encountered' extraMsg='Stream sync' #1685
Comments
@rnyak, thank you for filing an issue about this. Your example does not indicate how the data was created/loaded, but I've used what you've provided to generate data randomly. On the current cuML nightly, I am able to execute the following code end-to-end without error.
The Can you run my modified example and see if the crash is still happening on version 0.12? If so, can you see if the code runs successfully on the nightly? If you are using conda, you can install our nightly with If you aren't able to run it successfully on either, we'll need to dig a little deeper. |
@cjnolet Thanks for the quick response. Will test your example. Data was first in .pkl format, then it was converted to parquet, and saved as a parquet file. We read data from parquet to gdf as:
from gdf, we created a subset of gdf, Not sure if it gives any info, but I could run xgboost without any issue. |
@cjnolet the example you provided works fine, just Somehow,
both X_train.dtypes and X_test.dtypes:
Thanks. |
Since the current KNNClassifier implementation uses only brute force and doesn't create any specialized indices. As a result, the call to Nothing immediately obvious stands out about your feature dataframes. Is your labels column also |
@cjnolet Thanks for the quick response, and explanation. The label column is |
@rnyak, were you able to get this running successfully on your data? |
@cjnolet Unfortunately, not. I could not find the reason, so closed the issue for now. Will try 0.13 nightly, if same error occurs, I can reopen this issue. Thanks. |
I still get this problem for 21.08. Will file new issue |
Describe the bug
Hello, I am trying to run
cuml KNeighborsClassifier
. This is my code:Steps/Code to reproduce bug
When I run
knn.predict(X_test)
andknn.predict_proba(X_test)
after fitting the model, it generates the error below:Expected behavior
knn.predict() to works without any issue.
Environment details (please complete the following information):
Additional context
I also ran the same example on 8x V100-32 GB using docker. Same issue occurred.
The text was updated successfully, but these errors were encountered: