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] DBSCAN.fit: 'pylibraft.common.handle.Handle' object has no attribute 'sync' #5800
Comments
This is a very weird issue, the sync method clearly is in RAFT's handle https://github.com/rapidsai/raft/blame/335236c705c0c53da8a4bf6a22835fdbe669f1df/python/pylibraft/pylibraft/common/handle.pyx#L113, does this happen consistently with all estimators? The only thing that comes to mind right now is that there might be an old pylibraft somwhere in the system that is taking precedence. |
This is clean install on ubuntu 22.04, python 3.10.12. |
from OS image script: python3.10add-apt-repository -y ppa:deadsnakes/ppa pipcurl -k https://bootstrap.pypa.io/get-pip.py > get_pip.py cudaapt-key del 7fa2af80 wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb export PTXCOMPILER_CHECK_NUMBA_CODEGEN_PATCH_NEEDED="0" pip install -i https://pypi.org/simple --no-input cuda-python==12.2.1 rapidspip install -i https://pypi.org/simple |
Describe the bug
exception from fit():
File "/usr/local/lib/python3.10/dist-packages/cuml/internals/api_decorators.py", line 188, in wrapper
ret = func(*args, **kwargs)
File "dbscan.pyx", line 363, in cuml.cluster.dbscan.DBSCAN._fit
AttributeError: 'pylibraft.common.handle.Handle' object has no attribute 'sync'
Steps/Code to reproduce bug
Hope you'll see reason without data exchange.
Expected behavior
no exception
Environment details (please complete the following information):
pip install -i https://pypi.org/simple --no-input
--extra-index-url=https://pypi.nvidia.com
cudf-cu12==24.2.* dask-cudf-cu12==24.2.* cuml-cu12==24.2.*
cugraph-cu12==24.2.* cuspatial-cu12==24.2.* cuproj-cu12==24.2.*
cuxfilter-cu12==24.2.* cucim-cu12==24.2.* pylibraft-cu12==24.2.*
raft-dask-cu12==24.2.*
The text was updated successfully, but these errors were encountered: