Closed Vlad-Neporada closed 3 months ago
Did you install using pip
or using the installer?
Do you have Python 3.11 installed from Python.org, or from the Windows app store?
Something here seems to be in disagreement: xformers
says about your torch
: "you have 2.0.1+cu118", but pip says torch 2.3.0+cu121
. Somehow xformers
isn't seeing the same torch
that pip
is seeing.
Try to delete your virtual environment and reinstall Invoke using the installer from https://github.com/invoke-ai/InvokeAI/releases/download/v4.2.4/InvokeAI-installer-v4.2.4.zip.
Is there an existing issue for this problem?
Operating system
Windows
GPU vendor
Nvidia (CUDA)
GPU model
RTX 3060
GPU VRAM
8GB
Version number
dunno
Browser
Opera GX
Python dependencies
No response
What happened
I searched for a few days all over the internet for a proper guide on how to do this but after many fails i decided to ask here. Here is the error code from webui: Launching Web UI with arguments: xformers WARNING:xformers:WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for: PyTorch 2.1.2+cu121 with CUDA 1201 (you have 2.0.1+cu118) Python 3.10.11 (you have 3.10.11) Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers) Here are versions from pip: torch 2.3.0+cu121 xformers 0.0.26.post1 I have CUDA 12.1.1 with VS2022 installed. What shoud i install/reinstall and how? Any and all help will be appreciated
What you expected to happen
xformers to work, lol
How to reproduce the problem
No response
Additional context
No response
Discord username
No response