-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add instructions for installing xFormers on linux #2360
Conversation
xFormers has precompiled wheels available for Windows/Linux that work with PyTorch 1.13.1 which can be installed with this command: |
This certainly would - thanks for sharing! I’ll give it a test on 2.3 tonight and see if it “just works” ™️ |
I can confirm on installing on ubuntu 22.04 with main branch: python -m xformers.inf output
side note: also makes SD 2.1 float16 no longer output black screen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed working on Ubuntu 22.04 with pip install
, but keeping the instructions would also be valuable.
Blessed highlighted that my ability to use the pip install was only because I have WSL - It won't work by default on Windows. I'll need to investigate manual build options further |
I'm light of the very welcome news that you can easily pip install on Linux, I'm going to rewrite the doc a bit. So there's no wheel install for Windows? |
There is a Windows wheel, I'm using it at this very moment. It is also listed here: https://pypi.org/project/xformers/0.0.16rc425/#files |
Do you have any tips or tricks for using the Windows wheel or was it a
smooth experience?
…On Fri, Jan 20, 2023 at 10:34 AM SnakePin ***@***.***> wrote:
There is a Windows wheel, I'm using it at this very moment. It is also
listed here: https://pypi.org/project/xformers/0.0.16rc425/#files
—
Reply to this email directly, view it on GitHub
<#2360 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA3EVLFQEO25UYELUD7BQTWTKWB3ANCNFSM6AAAAAAT7FBAWI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The only requirement is that the VC++ 2015-2022 redistributable must be installed, as it's compiled with Visual C++ 2019 |
I've added the pip install instructions. Thanks very much for this! I wish I'd known that there were pip wheels available, cause that would have saved me a lot of hair-tearing a few days ago. |
I just wanted to comment that pinning Installing the latest available
This will make sure the installation does not break, as long as |
I've written up the install procedure for xFormers on Linux systems.
I need help with the Windows install; I don't know what the build dependencies (compiler, etc) are. This section of the docs is currently empty.
Please see
docs/installation/070_INSTALL_XFORMERS.md