Skip to content
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

xformers not found #6

Closed
ipostr08 opened this issue Jan 20, 2023 · 2 comments
Closed

xformers not found #6

ipostr08 opened this issue Jan 20, 2023 · 2 comments

Comments

@ipostr08
Copy link

I've installed xformers using conda but I get "No module 'xformers'. Proceeding without it."
conda list
...
xformers 0.0.16.dev432+git.bc08bbc py310_cu11.3_pyt1.12.1 xformers/label/dev

I've tried to install xformers using pip but that comes with its own issues (e.g. facebookresearch/xformers#473).

@lunarring
Copy link
Collaborator

xformers can be quite fun to install.
What I found helpful is to clone the xformers github, install the dependencies and then run pip install -e . - which compiles xformers. Alternatively there are also pip wheels:
pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+4c06c79.d20221205-cp38-cp38-linux_x86_64.whl
good luck :)

@maxlund
Copy link
Contributor

maxlund commented Jan 21, 2023

I would suggest building it yourself, never worked with pip for me. Then just copying/linking the xformers directory into your virtual env's library directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants