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
Warpfusion
Check hot fix posts here
Warpfusion
Make sure to create the env using the latest venv installer
Lorenzo Lot
Im gettin this error under 1.4 Install and import dependencies: ModuleNotFoundError: No module named 'lpips'
Jean Saez
Im 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)
thomas woodcock
Hey 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?
Warpfusion
Hi, if you have a v0.20 or newer, not actions are needed
Warpfusion
Hi, which links do you mean?
thomas woodcock
Hi 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?
FM
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). 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
Warpfusion
only after install
Jongugu
do we skip install even if its a new session? like a completely new uploaded book?