deforum-art / deforum-stable-diffusion

https://deforum.github.io/
Other
2.21k stars 388 forks source link

DeforumStableDiffusion RuntimeError colab #349

Open Joplin399 opened 1 year ago

Joplin399 commented 1 year ago

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

leahbeo commented 1 year ago

before setup: !pip uninstall torch torchvision torchaudio torchtext torchdata torchmetrics -y !pip install torch==2.0.1+cu118 torchvision torchaudio torchdata --index-url https://download.pytorch.org/whl/cu118 !pip uninstall torchmetrics -y !pip install torchmetrics==0.11.4

glancione commented 1 year ago

It worked for me thanks <3

Joplin399 commented 1 year ago

Thank you, it worked! :)

On 25 Oct 2023, at 01:34, leahbeo @.***> wrote:

before setup: !pip uninstall torch torchvision torchaudio torchtext torchdata torchmetrics -y !pip install torch==2.0.1+cu118 torchvision torchaudio torchdata --index-url https://download.pytorch.org/whl/cu118 https://download.pytorch.org/whl/cu118 !pip uninstall torchmetrics -y !pip install torchmetrics==0.11.4

— Reply to this email directly, view it on GitHub https://github.com/deforum-art/deforum-stable-diffusion/issues/349#issuecomment-1778219893, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDNHXVGQDXXUVZVWAC3WOADYBBF7VAVCNFSM6AAAAAA6JI7LXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZYGIYTSOBZGM. You are receiving this because you authored the thread.