SakeTami
sxela
sxela

patreon


If you're getting xformers error on colab

If 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

Make sure to create the env using the latest venv installer

Warpfusion

Im gettin this error under 1.4 Install and import dependencies: ModuleNotFoundError: No module named 'lpips'

Lorenzo Lot

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)

Jean Saez

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?

thomas woodcock

Hi, if you have a v0.20 or newer, not actions are needed

Warpfusion

Hi, which links do you mean?

Warpfusion

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?

thomas woodcock

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

FM

only after install

Warpfusion

do we skip install even if its a new session? like a completely new uploaded book?

Jongugu


More Creators