InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: Upgrade failed

Open VeyDlin opened this issue 1 year ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

OS

Windows

GPU

cuda

VRAM

12

What version did you experience this issue on?

2.3.5.post2

What happened?

When I try to upgrade, I get this error

ERROR: Invalid requirement: "'invokeai[xformers]"
❗ Upgrade failed

I tried two options:

║  [1] Update to the latest official release (v2.3.5.post2)                                                        
║  [2] Update to the bleeding-edge development version (main)

Screenshots

No response

Additional context

No response

Contact Details

No response

VeyDlin avatar Jun 04 '23 14:06 VeyDlin

I have the same problem, same configuration

Sniza avatar Jun 07 '23 10:06 Sniza

Same problem here, I opened the developer console and ran pip install InvokeAI --force-reinstall as per instructions in docs (https://invoke-ai.github.io/InvokeAI/installation/010_INSTALL_AUTOMATED/#package-dependency-conflicts) and the issue was not resolved with that either for info. The result of this issue is that the CPU is used instead of the GPU which makes invoke basically unusable. Happy to provide any logs if needed, but I imagine everyone updating will run into this.

Kellegram avatar Jun 07 '23 15:06 Kellegram

Fixed by running pip install InvokeAI --force-reinstall then pip install torch torchvision --force-reinstall --extra-index-url https://download.pytorch.org/whl/cu117 then pip install --force-reinstall xformers It still says there are things that I have too high versions of but now the GPU is utilised, I probably created some 'el classico python mess in the venv, but this at least gets you back to work I guess.

Kellegram avatar Jun 07 '23 17:06 Kellegram

I still have a problem.

YesThisIsMe007 avatar Jun 21 '23 23:06 YesThisIsMe007

I'm having the same problem and the last suggestion didn't fix it. As a matter of fact, it broke my current installation due to another bug it brings out related to torchmetrics. https://github.com/invoke-ai/InvokeAI/issues/3658

QuestionQuest117 avatar Jul 08 '23 04:07 QuestionQuest117

Welp, still works for me after running that, no problems since my comment.

Kellegram avatar Jul 09 '23 14:07 Kellegram

Consider updating to 3.0 beta

hipsterusername avatar Jul 09 '23 14:07 hipsterusername