Open mmann1123 opened 1 year ago
@mmann1123 which torch version is installed? I assume 1.13 right?
For the pip install: could you try and update nvcc? you have Cuda compilation tools, release 11.1
and pytorch-cuda=11.6
.
Torch is 1.13, I can upgrade to cuda 11.2.
Seems odd to be missing a header file though right?
Updating cuda seems to have resolved this.
I am getting this error on PyTorch 1.13.1 py3.8_cuda11.6_cudnn8.3.2_0 and: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Tue_Mar__8_18:18:20_PST_2022 Cuda compilation tools, release 11.6, V11.6.124 Build cuda_11.6.r11.6/compiler.31057947_0
I ran into the same problem lately when I was trying to switch to pytorch-nightly
build installed via conda
. While pytorch itself installs correctly and works fine, I couldn't build xformers
anymore.
It seems like the wrong version of libcusolver
is installed within the process of packages resolution and there is no way to force conda to install another version of it without causing conflicts (which would not be resolved and thus no pytorch will be installed).
What worked for me though is installing nightly pytorch from pip
in a new environment from scratch: pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cu116
Issue
Interestingly the conda build installs fine - but does not work. Meanwhile the pip build fails with the following:
I am finding exceedingly few examples of how to resolve this online and wondering if you have any ideas.
Install
System