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

change cuda version from 118 to 121 #1

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

amrirasyidi
Copy link
Contributor

I found an error while trying to use the collab notebook.

RuntimeError: Detected that PyTorch and torchvision were compiled with different CUDA major versions. PyTorch has CUDA Version=11.8 and torchvision has CUDA Version=12.1. Please reinstall the torchvision that matches your PyTorch install.

Old

!pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

New

!pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

This new line works for me.

@cj-mills cj-mills merged commit 17e162e into cj-mills:main Jun 5, 2024
@cj-mills
Copy link
Owner

cj-mills commented Jun 5, 2024

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants