If you're getting xformers error on colab
Added 2023-12-15 04:53:27 +0000 UTCIf you're getting xformers error on colab about cuda version mismatch:
Google colab env has been updated (their cuda version was bumped from 11.8 to 12.1), so we need to update our dependencies.
I'm rolling a hotfix soon, but for now you can:
add a new code cell after the install cell and before the import dependencies cell, with
!pip install https://download.pytorch.org/whl/cu121/xformers-0.0.22.post4-cp310-cp310-manylinux2014_x86_64.whl#sha256=7075114dbf698b609b599f0d35032c0b2f9a389751e8bbf4dd3c628376b0dd9c
and run once. You may or may not need to restart the session (NOT reset) after that.
upd: fix for versions 0.20 and newer is out, no extra actions needed, just run it like you did before (may need to disconnect and delete current runtime if you're already running)
Comments
Check hot fix posts here
Warpfusion
2024-01-12 01:16:06 +0000 UTCMake sure to create the env using the latest venv installer
Warpfusion
2024-01-12 01:15:43 +0000 UTCIm gettin this error under 1.4 Install and import dependencies: ModuleNotFoundError: No module named 'lpips'
Lorenzo Lot
2024-01-11 23:50:36 +0000 UTCIm gettin this error under 1.4 Install and import dependencies: ImportError: cannot import name 'isDirectory' from 'PIL._util' (/usr/local/lib/python3.10/dist-packages/PIL/_util.py)
Jean Saez
2024-01-11 20:56:09 +0000 UTCHey bud thanks for the reply, its these programmes (git, miniconda) https://www.youtube.com/watch?v=eIeYMuWXkFs the link's don't work. is there an update or other programmes to use?
thomas woodcock
2023-12-29 10:14:49 +0000 UTCHi, if you have a v0.20 or newer, not actions are needed
Warpfusion
2023-12-29 05:16:11 +0000 UTCHi, which links do you mean?
Warpfusion
2023-12-29 05:15:43 +0000 UTCHi there, thanks for the update, I am trying to run it form my computer but the 2x download link's to download the programmes don't work, is there any new link's or updated link's?
thomas woodcock
2023-12-20 07:28:38 +0000 UTCfix for versions 0.20 and newer is out, no extra actions needed, just run it like you did before (may need to disconnect and delete current runtime if you're already running). hello does this mean we don't add !pip install https://download.pytorch.org/whl/cu121/xformers-0.0.22.post4-cp310-cp310-manylinux2014_x86_64.whl#sha256=7075114dbf698b609b599f0d35032c0b2f9a389751e8bbf4dd3c628376b0dd9c
FM
2023-12-18 22:24:10 +0000 UTConly after install
Warpfusion
2023-12-15 05:05:26 +0000 UTCdo we skip install even if its a new session? like a completely new uploaded book?
Jongugu
2023-12-15 05:00:31 +0000 UTC