Google-Colab_Notebooks icon indicating copy to clipboard operation
Google-Colab_Notebooks copied to clipboard

ERROR Incompatible Torch in Wan2_1_14B_I2V_GGUF_&_LoRA.ipynb

Open zabilhyun opened this issue 1 year ago • 2 comments

i got this error.. seems new colab python version is not compatible with the notebooks (maybe, idk) please fixed it, and if you mind i want to know how to instal or downgrade using colab codes, i've been asking chat gpt but doesnt work.. thanks

Image Image

zabilhyun avatar Jun 09 '25 23:06 zabilhyun

I just updated the environment. I set the torch libraries as follows: !pip install torch==2.6.0 torchvision==0.21.0

I also set the xformers version in the next line to prevent it from upgrading the environment to a torch version that might conflict with other libraries. !pip install -q torchsde einops diffusers accelerate xformers==0.0.29.post2

Isi-dev avatar Jun 10 '25 14:06 Isi-dev

I just updated the environment. I set the torch libraries as follows: !pip install torch==2.6.0 torchvision==0.21.0

I also set the xformers version in the next line to prevent it from upgrading the environment to a torch version that might conflict with other libraries. !pip install -q torchsde einops diffusers accelerate xformers==0.0.29.post2

thanks, now it works perfectly !

zabilhyun avatar Jun 10 '25 20:06 zabilhyun