You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
False
CUDA call='cudaEventDestroy(event_)' at file=/home/nfs/rorym/cuml/cpp/build/_deps/raft-src/cpp/include/raft/handle.hpp line=304 failed with an illegal memory access was encountered
Traceback (most recent call last):
File "illegal.py", line 11, in <module>
K = pairwise_kernels(X, metric='cosine')
File "/home/nfs/rorym/anaconda3/envs/cuml_dev/lib/python3.7/site-packages/cuml/internals/api_decorators.py", line 465, in inner_with_getters
ret_val = func(*args, **kwargs)
File "/home/nfs/rorym/anaconda3/envs/cuml_dev/lib/python3.7/site-packages/cuml/metrics/pairwise_kernels.py", line 303, in pairwise_kernels
return PAIRWISE_KERNEL_FUNCTIONS[metric](X, Y, **kwds)
File "/home/nfs/rorym/anaconda3/envs/cuml_dev/lib/python3.7/site-packages/cuml/metrics/pairwise_kernels.py", line 82, in cosine_similarity
K= 1.0 - cp.asarray(pairwise_distances(X, Y, metric='cosine'))
File "/home/nfs/rorym/anaconda3/envs/cuml_dev/lib/python3.7/site-packages/cuml/internals/api_decorators.py", line 465, in inner_with_getters
ret_val = func(*args, **kwargs)
File "cuml/metrics/pairwise_distances.pyx", line 315, in cuml.metrics.pairwise_distances.pairwise_distances
File "cuml/raft/common/handle.pyx", line 76, in cuml.raft.common.handle.Handle.sync
RuntimeError: CUDA error at: /home/nfs/rorym/anaconda3/envs/cuml_dev/include/rmm/cuda_stream_view.hpp:81: cudaErrorIllegalAddress an illegal memory access was encountered
The text was updated successfully, but these errors were encountered:
Describe the bug
Illegal memory access in
pairwise_distances
. Looks like an int being used as an index.Steps/Code to reproduce bug
The text was updated successfully, but these errors were encountered: