-
Notifications
You must be signed in to change notification settings - Fork 273
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
CUDA_HOME error when installing gsplat v1.4 #446
Comments
Hey, can you try to run |
I believe the cause could be that since version1.4 the whl file is not uploaded on pypi.org anymore and only the source distribution is released on pypi.org (see https://pypi.org/project/gsplat/#files). As a result pip install will use the source distribution and try to compile gsplat during the installation (while it was using the whl file and compiling at runtime the first time gsplat is used in previous versions). You will need to install cuda ans setup the CUDA_PATH variable in your environment before installing gsplat if you want to install from source. This could be made clearer in the doc. Alternatively you can install from the pre-compiled wheels as explained int the readme but only wheel for python 3.10 are released at the moment |
Notre that the following doc is outdated.
because this will try to install from source and compile the cuda code during the installation since version1.4 |
I have a conda env that has pytorch 2.1 installed with cuda 11.7. I am able to pip install gsplat v1.3 or older without any issues. When I try pip installing gsplat v1.4, I get the same error as #197. Error: "OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.". His issue was that he did not have cuda installed with pytorch but I have it installed properly and I am able to use pytorch with my GPU using this env.
The text was updated successfully, but these errors were encountered: