Skip to content
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

ERROR: Failed building wheel for causal-conv1d with torch>2.4 #36

Open
we11as22 opened this issue Oct 25, 2024 · 3 comments
Open

ERROR: Failed building wheel for causal-conv1d with torch>2.4 #36

we11as22 opened this issue Oct 25, 2024 · 3 comments

Comments

@we11as22
Copy link

pip install torch==2.4.0 helps

@xtwigs
Copy link

xtwigs commented Oct 30, 2024

@tridao would it be possible to release torch 2.5 wheels?

@kzlinguistics
Copy link

it ended up being an NVCC version for me. I was able to solve it by doing the following:

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin
sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/12.4.0/local_installers/cuda-repo-ubuntu2204-12-4-local_12.4.0-550.54.14-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu2204-12-4-local_12.4.0-550.54.14-1_amd64.deb
sudo cp /var/cuda-repo-ubuntu2204-12-4-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cuda

export PATH=/usr/local/cuda/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

nvcc --version

@s-smits
Copy link

s-smits commented Nov 5, 2024

The main problem appears to be compatibility issues with causal-conv1d. There are two key issues:
Missing Precompiled Wheel: The installer tried to download a precompiled wheel for your specific configuration (Python 3.11 + CUDA 12.4 + torch 2.4.1) but got a 404 error, meaning this specific combination doesn't have a pre-built package.

Would the main problem be Python 3.11 (3.10 better) or PyTorch 2.4.1 (downgrading to 2.3.1)? Assuming CUDA 12.4 is fully backwards compatible with 12.1

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

No branches or pull requests

4 participants