InvokeAI: [bug]: validation error for InvokeAIAppConfig

Is there an existing issue for this?

  • I have searched the existing issues

OS

Windows

GPU

cuda

VRAM

8GB

What version did you experience this issue on?

3.0.1 Hotfix 3

What happened?

I am an existing windows Invoke-AI user and have performed at least a few updates on the 2.x versions. On my first attempt to upgrade to 3.x, I tried the in place update, which failed (not much of a surprise). After this I renamed my old Invoke-AI folder and decided to install a fresh copy using the 3.0.0 installer and perform the migration using the migration script.

I did attempt to perform a fresh install with 3.0.0, which failed with the same error, after which I waited for a few days, in case this was a common error.

I downloaded the Invoke-AI 3.0.1 Hotfix 3 installer, ran this following the install instructions to a new clean folder. After the install is complete, when the ‘Configuring InvokeAI’ script runs, it returns the following error:

A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
Traceback (most recent call last):
  File "d:\InvokeAI\InvokeAI-Installer\lib\main.py", line 51, in <module>
    inst.install(**args.__dict__)
  File "d:\InvokeAI\InvokeAI-Installer\lib\installer.py", line 191, in install
    self.instance.configure()
  File "d:\InvokeAI\InvokeAI-Installer\lib\installer.py", line 351, in configure
    from invokeai.frontend.install import invokeai_configure
  File "D:\AI-Art\Invoke-AI\.venv\Lib\site-packages\invokeai\frontend\install\__init__.py", line 4, in <module>
    from .invokeai_configure import main as invokeai_configure
  File "D:\AI-Art\Invoke-AI\.venv\Lib\site-packages\invokeai\frontend\install\invokeai_configure.py", line 4, in <module>
    from ...backend.install.invokeai_configure import main
  File "D:\AI-Art\Invoke-AI\.venv\Lib\site-packages\invokeai\backend\__init__.py", line 4, in <module>
    from .generator import InvokeAIGeneratorBasicParams, InvokeAIGenerator, InvokeAIGeneratorOutput, Img2Img, Inpaint
  File "D:\AI-Art\Invoke-AI\.venv\Lib\site-packages\invokeai\backend\generator\__init__.py", line 4, in <module>
    from .base import (
  File "D:\AI-Art\Invoke-AI\.venv\Lib\site-packages\invokeai\backend\generator\base.py", line 28, in <module>
    import invokeai.backend.util.logging as logger
  File "D:\AI-Art\Invoke-AI\.venv\Lib\site-packages\invokeai\backend\util\__init__.py", line 4, in <module>
    from .devices import (
  File "D:\AI-Art\Invoke-AI\.venv\Lib\site-packages\invokeai\backend\util\devices.py", line 13, in <module>
    config = InvokeAIAppConfig.get_config()
  File "D:\AI-Art\Invoke-AI\.venv\Lib\site-packages\invokeai\app\services\config.py", line 464, in get_config
    cls.singleton_config = cls(**kwargs)
  File "pydantic\env_settings.py", line 40, in pydantic.env_settings.BaseSettings.__init__
  File "pydantic\main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for InvokeAIAppConfig
version
  value could not be parsed to a boolean (type=type_error.bool)
Press any key to continue . . .

I have tried multiple clean installs to different locations, but this does not change the issue. I have also tried re-running the configuration script using the option 7 (Re-run the configure script to fix a broken install), which returned the same error. If I attempt to start the browser UI, I get the same error as above.

I am running on Windows 11, with Python 3.10.11

Screenshots

No response

Additional context

No response

Contact Details

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 33

Commits related to this issue

Most upvoted comments

@suonnon That’s great that it is working but I think you misunderstood - changing the port to 9080 is not really a solution, it’s equivalent to resetting the web UI. Technically it’s fine to use 9080, but if you have further issues, please create a new issue.

Sure thing! Thanks so much for your support

I’m not sure what’s going on, sorry 😕 the installer and this particular area of the code is @lstein 's domain, hopefully the issue is clear to him