#The new update broke my install, not sure what to do now.

92 messages ยท Page 1 of 1 (latest)

inner relic
#

I updated Invoke through the invoke.bat thingy, and it seemed to work, but it wouldn't use my GPU anymore when generating and used my CPU instead. So I checked it out and it said:

Starting the InvokeAI browser-based UI..
WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 1.13.1+cu117 with CUDA 1107 (you have 1.13.1+cpu)
Python 3.10.9 (you have 3.10.9)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details

So I went to that website, and I opened the dev console in Invoke and ran the install script, but it gave me this
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
invokeai 2.3.4.post1 requires torch~=1.13.1, but you have torch 2.0.0 which is incompatible.
torchvision 0.14.1 requires torch==1.13.1, but you have torch 2.0.0 which is incompatible.

And now anytime I try to run Invoke or try to repair the install I get this:
https://i.imgur.com/RDohGef.png

GitHub

Hackable and optimized Transformers building blocks, supporting a composable construction. - GitHub - facebookresearch/xformers: Hackable and optimized Transformers building blocks, supporting a co...

inner relic
#

shakallo โ€” Today at 4:23 PM
ill take a look, if this is something that happened to me, gonna share my painful experience ๐Ÿ˜‰
did you manually interfere with torch libs ?
Spooky โ€” Today at 4:25 PM
idk what that means
shakallo โ€” Today at 4:25 PM
like updated them from pip or smth
Spooky โ€” Today at 4:25 PM
i think so
I ran
pip install torch==1.13.1 torchvision==0.14.1 xformers==0.0.16 --extra-index-url https://download.pytorch.org/whl/cu117

surreal fable
#

the error tells you your torchivision is incompatible with your torch version

inner relic
#

What can I do?

surreal fable
#

i'd try to match them. looking up for a command

#

or you could just try to download the installer from invoke site and run it

#

from what i remember it uninstalls libraries that dont match

#

yeah sorry at first i thought it will be easy but im not sure if torch 2.0.0 can run with invoke 2.3.4 so it's beter to wait for someone more competent

inner relic
#

It's okay. I'm not sure what to do either.

surreal fable
#

well there is a thing you could do and that is creating new install in another folder if you're in a hurry. then carry everything into it like models etc. should be pretty straightforward

#

you will have to download around 6GB of data [this is excluding models]

#

im not sure how you got torch 2.0.0 in the first place, i hope you dont use same virtual env for something else

rigid ibex
#

Yeah the torch version should not have updated in the course of an update.

inner relic
#

Can I delete it somehow? The torch version? @rigid ibex

rigid ibex
#

The best thing to do is a reinstall. It's generally easier to do that than try to fix in place if things have gotten this weird. Just save models, embeddings, loras, and output and you won't have to redownload much.

inner relic
#

But

#

I don't get it, because wouldn't torch be installed anyway regardless of invoke?

#

It's not invoke specific

rigid ibex
#

right but the otrch ersion the new install willg rab should be right one

#

again unsure how you got 2 in the first place. it should never grab that

inner relic
#

But

#

When I try a new install I get the same error

rigid ibex
#

what installer are you doing?

inner relic
rigid ibex
#

that's not a new install that's trying to repair

inner relic
#

How do you want me to make an entirely new install then?

#

New folder?

rigid ibex
#

Delete the old folder entirely (after moving output, loras, embedding, and models folders out of it so they get saved).

#

you can put the back afterward

#

you have to go back to the github and get a fresh installer copy.

inner relic
#

Uhh

inner relic
#

I'd have to google where that is unless you have a link for me

#

Tyty

rigid ibex
#

Make sure you are getting 2.3.4.post1. That's the latest stable

#

DO NOT GET MAIN that's the alpha branch in development it will be all kinds of broken

inner relic
#

got it ye

#

deleting the old folder is taking a fair while due to the sheer amount of files

rigid ibex
#

I hope you saved the things I said

#

shouldn;t be that big without those in thiere

inner relic
#

i did ye

rigid ibex
#

copy instead of cut?

inner relic
#

it's not big, just a huge amount of files

rigid ibex
#

oh yeah but not that bad

#

just checking do you have python on the system for anything else?

inner relic
#

ye i got the right version

#

no python detected

#

?????

#

wtf

#

I just literally reinstalled it

#

Wtf does it mean

rigid ibex
#

add python to path checked?

#

During the Python configuration process, look out for a checkbox to add Python to your PATH and select it. If the install script complains that it can't find python, then open the Python installer again and choose "Modify" existing installation.

inner relic
#

I am sure I did

#

I'll reinstall it again

#

It's cooking now

#

I'll let it cook

inner relic
#

Wait...

#

It finished installing but I can't find it

#

I installed it in the wrong fucking directory, fuck.

#

Do I need to reinstall the whole thing or can I move the folder?

#

It's not

#

It put it on my c/user

#

Yep gotta reinstall the whole thing

#

FUCK ME

rigid ibex
#

Please watch the install location setting when you are installing. it does ask where you want it, you probably just quick ran past it.

inner relic
#

yeah

#

reinstalling now

#

thankfully it cached most of it so its a lot faster

inner relic
#

what should I do?

#

something about python?

surreal fable
#

you need to paste everything bellow 'index out of range' part too

inner relic
#

there was nothing below it

#

Just looped back to the standard menu

#

IndexError: list index out of range
Do you want to generate images using the

  1. command-line interface
  2. browser-based UI
  3. run textual inversion training
  4. merge models (diffusers type only)
  5. download and install models
  6. change InvokeAI startup options
  7. re-run the configure script to fix a broken install
  8. open the developer console
  9. update InvokeAI
  10. command-line help
    Q - quit
#

i just did the repair broken install thing

surreal fable
#

you get the error when running webui ?

inner relic
#

yes

surreal fable
#

ok so you got that when you run [2] or [7] ?

inner relic
#

i ran 7

#

now running 2 again

#

looks promising

surreal fable
#

good luck! ๐Ÿ™‚

inner relic
#

Seems to work

#

Gonna generate once the model is loaded

#

For fuck's sake civitai is down AGAIN

#

Anyway, my install is fixed. I can run the program.