-
Notifications
You must be signed in to change notification settings - Fork 14
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
rascaline.torch install requests CUDA_TOOLKIT_ROOT_DIR #305
Comments
this is the full error message:
|
and these are the pip list:
|
This is the usual issue with Torch's CMake files on Linux: pytorch/pytorch#78530. They try to find a CUDA compiler even if there is no CUDA code to compile. The workaround is to build against the CPU version of torch, by running |
This is happening even if you already installed the CPU only version of torch; because pip does build isolation by default and re-install all dependencies in a fresh virtual environment to build the code. This means you either need to pass the flag to all installation (which is what the environment variable does) or disable build isolation in pip. |
Hello,
I am trying to make this installscript run.
On my M1 mac it runs without problems, on cosmosrv it yields this error:
CUDA_TOOLKIT_ROOT_DIR not found or specified
what can be done to fix it?
The text was updated successfully, but these errors were encountered: