StabilityMatrix icon indicating copy to clipboard operation
StabilityMatrix copied to clipboard

Can not Upgrade Invoke to 6.9.0

Open Morethanevil opened this issue 2 months ago • 4 comments

What happened?

I tried upgrading Invoke to v6.9.0 via UI and it finishes without errors but an insanly speed.

Upgrade log:

Using Python 3.10.11 environment at: venv
Resolved 102 packages in 2.93s
Prepared 102 packages in 176ms
Uninstalled 102 packages in 10.75s
Installed 102 packages in 3.23s
 ~ absl-py==2.3.1
 ~ accelerate==1.10.1
 ~ annotated-types==0.7.0
 ~ anyio==4.11.0
 ~ attrs==25.4.0
 ~ bidict==0.23.1
 ~ bitsandbytes==0.48.1
 ~ blake3==1.0.8
 ~ certifi==2022.12.7
 ~ cffi==2.0.0
 ~ charset-normalizer==2.1.1
 ~ click==8.3.0
 ~ colorama==0.4.6
 ~ coloredlogs==15.0.1
 ~ compel==2.1.1
 ~ contourpy==1.3.2
 ~ cycler==0.12.1
 ~ deprecated==1.2.18
 ~ diffusers==0.33.0
 ~ dnspython==2.8.0
 ~ dynamicprompts==0.31.0
 ~ einops==0.8.1
 ~ exceptiongroup==1.3.0
 ~ fastapi==0.118.3
 ~ fastapi-events==0.12.2
 ~ filelock==3.19.1
 ~ flatbuffers==25.9.23
 ~ fonttools==4.60.1
 ~ fsspec==2025.9.0
 ~ gguf==0.17.1
 ~ h11==0.16.0
 ~ httptools==0.7.1
 ~ huggingface-hub==0.35.3
 ~ humanfriendly==10.0
 ~ idna==3.4
 ~ importlib-metadata==7.1.0
 - invokeai==6.8.1
 + invokeai==6.9.0
 ~ jax==0.6.2
 ~ jaxlib==0.6.2
 ~ jinja2==3.1.6
 ~ kiwisolver==1.4.9
 ~ markupsafe==2.1.5
 ~ matplotlib==3.10.7
 ~ mediapipe==0.10.14
 ~ ml-dtypes==0.5.3
 ~ mpmath==1.3.0
 ~ networkx==3.3
 ~ numpy==1.26.3
 ~ onnx==1.16.1
 ~ onnxruntime==1.19.2
 ~ opencv-contrib-python==4.11.0.86
 ~ opt-einsum==3.4.0
 ~ packaging==24.1
 ~ picklescan==0.0.31
 ~ pillow==11.3.0
 ~ prompt-toolkit==3.0.52
 ~ protobuf==4.25.8
 ~ psutil==7.1.0
 ~ pycparser==2.23
 ~ pydantic==2.12.3
 ~ pydantic-core==2.41.4
 ~ pydantic-settings==2.11.0
 ~ pyparsing==3.2.5
 ~ pypatchmatch==1.0.2
 ~ pyreadline3==3.5.4
 ~ python-dateutil==2.9.0.post0
 ~ python-dotenv==1.1.1
 ~ python-engineio==4.12.3
 ~ python-multipart==0.0.20
 ~ python-socketio==5.14.2
 ~ pywavelets==1.8.0
 ~ pyyaml==6.0.3
 ~ regex==2025.9.18
 ~ requests==2.28.1
 ~ safetensors==0.6.2
 ~ scipy==1.15.3
 ~ semver==3.0.4
 ~ sentencepiece==0.2.0
 ~ simple-websocket==1.1.0
 ~ six==1.17.0
 ~ sniffio==1.3.1
 ~ sounddevice==0.5.2
 ~ spandrel==0.4.1
 ~ starlette==0.48.0
 ~ sympy==1.14.0
 ~ tokenizers==0.22.1
 ~ torch==2.7.1+cu128
 ~ torchsde==0.2.6
 ~ torchvision==0.22.1+cu128
 ~ tqdm==4.66.5
 ~ trampoline==0.1.2
 ~ transformers==4.57.1
 ~ typing-extensions==4.15.0
 ~ typing-inspection==0.4.2
 ~ urllib3==1.26.13
 - uvicorn==0.37.0
 + uvicorn==0.38.0
 ~ watchfiles==1.1.1
 ~ wcwidth==0.2.14
 ~ websockets==15.0.1
 ~ wrapt==1.17.3
 ~ wsproto==1.2.0
 ~ zipp==3.19.2
Updated InvokeAI

After starting, I only get this error:

Starting InvokeAI...
Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "D:\Appz\StabilityMatrix\Data\Packages\InvokeAI\venv\lib\site-packages\invokeai\app\run_app.py", line 35, in run_app
    from invokeai.app.invocations.baseinvocation import InvocationRegistry
  File "D:\Appz\StabilityMatrix\Data\Packages\InvokeAI\venv\lib\site-packages\invokeai\app\invocations\baseinvocation.py", line 44, in <module>
    from invokeai.app.services.shared.invocation_context import InvocationContext
  File "D:\Appz\StabilityMatrix\Data\Packages\InvokeAI\venv\lib\site-packages\invokeai\app\services\shared\invocation_context.py", line 18, in <module>
    from invokeai.app.services.model_records.model_records_base import UnknownModelException
  File "D:\Appz\StabilityMatrix\Data\Packages\InvokeAI\venv\lib\site-packages\invokeai\app\services\model_records\__init__.py", line 3, in <module>
    from .model_records_base import (  # noqa F401
  File "D:\Appz\StabilityMatrix\Data\Packages\InvokeAI\venv\lib\site-packages\invokeai\app\services\model_records\model_records_base.py", line 15, in <module>
    from invokeai.backend.model_manager.configs.controlnet import ControlAdapterDefaultSettings
  File "D:\Appz\StabilityMatrix\Data\Packages\InvokeAI\venv\lib\site-packages\invokeai\backend\model_manager\configs\controlnet.py", line 1, in <module>
    from typing import (
ImportError: cannot import name 'Self' from 'typing' (D:\Appz\StabilityMatrix\Data\Packages\InvokeAI\venv\Scripts\python310.zip\typing.pyc)

Reinstalling did not help, only downgrade to v6.8.1

Steps to reproduce

Install Invoke 6.8.1 and start it -> runs Upgrade to 6.9.0 -> fails to start

Relevant logs


Version

2.15.2

What Operating System are you using?

Windows

Morethanevil avatar Oct 18 '25 14:10 Morethanevil

It seems that the changes made in v6.9.0 do not support Python 3.10 anymore - I am not sure whether or not this was intentional; it doesn't seem to be, considering their pyproject file still lists >=3.10 as supported - until this is fixed you will need to use Python 3.11 or newer for Invoke v6.9.0. You can select the Python version from the "Advanced Options" dropdown during the installation.

mohnjiles avatar Oct 19 '25 18:10 mohnjiles

Thanks for the workaround, but upgrading Python for an existing installation would be better. I will try to copy over the root folder to restore the DB and generated images

Morethanevil avatar Oct 19 '25 19:10 Morethanevil

Been trying to get Stability Matrix to show my system's installed python version so that Invoke 6.9.0 would work, but Stability Matrix seems to show 3.10.11 as the only available option even after toggling "show unsupported python versions" and restarting. The official Invoke Launcher ships with python 3.12, so I don't think it's supposed to support 3.10.

joshistoast avatar Oct 21 '25 00:10 joshistoast

Been trying to get Stability Matrix to show my system's installed python version so that Invoke 6.9.0 would work, but Stability Matrix seems to show 3.10.11 as the only available option even after toggling "show unsupported python versions" and restarting. The official Invoke Launcher ships with python 3.12, so I don't think it's supposed to support 3.10.

As @mohnjiles mentioned, selecting the version is possible when installing the package. Backup the root folder of invoke, uninstall it and click on add package in stability matrix. Then you can choose python 3.12. After installing copy the backuped invoke root to the new one. Then start it, this worked for me.

Morethanevil avatar Oct 21 '25 02:10 Morethanevil