Replies: 8 comments 12 replies
-
try to install cuda and torch versions that works with SD... |
Beta Was this translation helpful? Give feedback.
-
Xformers and cuda only work on nvidia so this is expected. If this is preventing the webui from launching I reccomend looking at the Mac installation discussion for solutions. |
Beta Was this translation helpful? Give feedback.
-
Actually you can install xformers on MacOS but it's a bit tricky. Try the short way:
If the above fails, try the long way:
Then finally
Just did it on M2 and it gave
|
Beta Was this translation helpful? Give feedback.
-
Because your output says that it doesn't support cpu but only cuda here:
|
Beta Was this translation helpful? Give feedback.
-
I can not install it on M3. `
PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
To search for alternate channels that may provide the conda package you're
and use the search bar at the top of the page. (aniportrait) taozhiyu@TAOZHIYUs-MBP aniportrait % pip install -U xformers × python setup.py bdist_wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. Warning: libomp 18.1.2 is already installed and up-to-date. llvm is keg-only, which means it was not symlinked into /opt/homebrew, If you need to have llvm first in your PATH, run: For compilers to find llvm you may need to set: llvm is keg-only, which means it was not symlinked into /opt/homebrew, If you need to have llvm first in your PATH, run: For compilers to find llvm you may need to set: × python setup.py bdist_wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × python setup.py bdist_wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × python setup.py bdist_wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
Beta Was this translation helpful? Give feedback.
-
when i type pip install -U xformers i get this tons of code but at the very end it says:
note: This error originates from a subprocess, and is likely not a problem with pip. |
Beta Was this translation helpful? Give feedback.
-
Similar issue(s) trying to install xformers on a mac studio m1 max in a conda venv. After many attempts and different errors, this was the solution for me:
Notes:
Now I've this warning
Which is normal I guess :) |
Beta Was this translation helpful? Give feedback.
-
just turn off use_memory_efficient_attention in model config.json file. usually it located in: model_cache/models–your_model/snapshots/xxxx/config.json also turn off unpad_inputs. That should solve the issue |
Beta Was this translation helpful? Give feedback.
-
Get an error
No module 'xformers'.
in my Mac M1. The log is:Any idea? How to fix it? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions