-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install fails on Mac because Mac doesn't support xformers #276
Comments
Use Python 3.11 or 3.10. |
Two problems with installing on Mac (x64): bitsandbytes max version is 0.42.0, but more importantly, the error above is caused because xformers isn't supported on Macs. Commenting it out in requirements.txt or, more eloquently: I'd push a PR but I'm not allowed. I am on Python 3.12. |
Why are you not allowed?
Use Python 3.11 or 3.10. |
I have the same problem. And as I'm running Ubuntu I'm on Python 3.12.3 and can't switch to an older version. It would be great when more modern Python versions would run as well. |
You can install additional versions of Python on Ubuntu. |
Hm, I have to look up how to do it as I don't want to wreck my system. What is the real reason to require so old Python versions? Can't we allow newer ones as well? kohya-ss could also do that step. |
Some of the dependencies like PyTorch used to lack support for newer Python versions. I haven't checked if everything supports Python 3.12 now. |
PyTorch was bad with newer Python versions. But that's fixed since a few releases: As I'm on the Ubuntu 24.04 LTS I have no official way of installing an older version of Python. The best way might be by adding a PPA for that. But as I'm pretty sure that old incompatibilities are solved upstream (PyTorch was notorious for that) I prefer to make it work with current python versions instead. |
Including this comment from closed issue #82:
@krummrey ,
I am trying to get this working on the Mac via pip install -r requirements.txt
I tried to match your March 14 version just so we are on the same baseline
I am using python 3.12
Can you help. Not sure why it says torch module not found when it clearly was installed
Originally posted by @saket424 in #82 (comment)
The text was updated successfully, but these errors were encountered: