Closed tmatzxzone closed 1 year ago
Ah it's xformers error on collab, btw this Repo managed to run xformers on collab
I need to update the Python version in Colab. Working on it
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.
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
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...
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.)
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
I removed xformers as an option until it is fixed https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/2731
Running on these settings, also google drive still have 5gb free of storage (free user) Also it gave me 2 different links: gradio and loca.it im using ur latest updated code u just commit