Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cudatoolkit dependency breaks pointops installation with new drivers #82

Open
alexrosen45 opened this issue Aug 9, 2024 · 0 comments
Open

Comments

@alexrosen45
Copy link

alexrosen45 commented Aug 9, 2024

Installing cudatoolkit 11 in a conda environment (line 14 in setup shell script)

conda install pytorch=1.9.0 torchvision cudatoolkit=11.1 -c pytorch -c nvidia -y

doesn't work with CUDA 12 drivers. This causes a lot of errors in different issues: #56, #49, #44, etc.

It turns out that the pointops installation works fine with a CUDA 12 toolkit after prepending its system wide installation to PATH

export PATH=/usr/local/cuda/bin:$PATH

or fresh installing the newest (driver compatible) version within the environment

conda remove cudatoolkit
rm ~/anaconda3/envs/pt/bin/nvcc
conda install cudatoolkit # newer version

You can also run nvcc --version to check that it matches the major version in nvidia-smi.

My question is what relies on an older version of the CUDA compiler? If it's a mistake, you should probably remove it.

Edit: I realize it's not really a mistake because you put Ubuntu: 18.04 or higher and CUDA: 11.1 as prereqs, but telling people to use a specific distro and install new nvidia drivers (which is already annoying enough on ubuntu) is a bit crazy. Maybe just put which versions of Ubuntu you tested your project on and require CUDA 11 or higher (or, at least, any CUDA 11 toolkit since it's backward compatible with minor driver versions: https://docs.nvidia.com/deploy/cuda-compatibility/).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant