Code Monkey home page Code Monkey logo

Comments (8)

acheong08 avatar acheong08 commented on May 22, 2024 2

Never mind.

File "/content/stable-diffusion-webui/modules/sd_hijack_optimizations.py", line 227, in xformers_attention_forward
    out = xformers.ops.memory_efficient_attention(q, k, v,)
  File "/usr/local/lib/python3.7/dist-packages/xformers/ops.py", line 58, in memory_efficient_attention
    return torch.ops.xformers.efficient_attention(query, key, value, False)[0]
  File "/usr/local/lib/python3.7/dist-packages/torch/_ops.py", line 143, in __call__
    return self._op(*args, **kwargs or {})
RuntimeError: Expected query.dim() == 3 to be true, but got false.  (Could this error message be improved?  If so, please report an enhancement request to PyTorch.)

from diffusion-colabui.

tmatzxzone avatar tmatzxzone commented on May 22, 2024

Ah it's xformers error on collab, btw this Repo managed to run xformers on collab

from diffusion-colabui.

acheong08 avatar acheong08 commented on May 22, 2024

I need to update the Python version in Colab. Working on it

from diffusion-colabui.

acheong08 avatar acheong08 commented on May 22, 2024

Also it gave me 2 different links: gradio and loca.it

You can use either. Gradio has a bug that prevents the transmission of images over 5 Megabytes. loca.lt is the alternative.

from diffusion-colabui.

acheong08 avatar acheong08 commented on May 22, 2024

Getting xformers requires a newer python version. The new version does not come with torch
Installing torch on Colab is extremely slow. Might just remove xformers as an option

from diffusion-colabui.

acheong08 avatar acheong08 commented on May 22, 2024

Ah it's xformers error on collab, btw this Repo managed to run xformers on collab

I copied some of their code and xformers works now...

from diffusion-colabui.

acheong08 avatar acheong08 commented on May 22, 2024

Ah it's xformers error on collab, btw this Repo managed to run xformers on collab

Their repo no longer works (for me) either. Must be upstream issues with AUTOMATIC's repo

from diffusion-colabui.

acheong08 avatar acheong08 commented on May 22, 2024

I removed xformers as an option until it is fixed
AUTOMATIC1111/stable-diffusion-webui#2731

from diffusion-colabui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.