MaartenGr / MaartenGr/BERTopic

Installing/Importing cuml HDBSCAN and UMAP issue

Open
#1,917 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.8k
Forks
920
Avg merge
22h 24m
Merged PRs (30d)
5

Description

Hi,

I used the following code to install cuml.

!pip install cudf-cu11 dask-cudf-cu11 --extra-index-url=https://pypi.nvidia.com
!pip install cuml-cu11 --extra-index-url=https://pypi.nvidia.com
!pip install cugraph-cu11 --extra-index-url=https://pypi.nvidia.com
!pip install cupy-cuda11x -f https://pip.cupy.dev/aarch64

However, when importing cuml.cluster and cuml.manifold I get the following error message. I am using databricks. Any help would be appreciated.

![image](https://github.com/MaartenGr/BERTopic/assets/166432073/4dcdeb71-0dbe-4d42-9030-28dd04994198)

Thanks,

James

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the listed pip installation commands, the cuml.cluster and cuml.manifold imports, and the error shown in the attached screenshot. Reproduce the setup in Databricks and determine the installation or import incompatibility; done means those imports work or the supported configuration is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.