invoke-ai / InvokeAI

Invoke is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, and serves as the foundation for multiple commercial products.
https://invoke-ai.github.io/InvokeAI/
Apache License 2.0
23.8k stars 2.45k forks source link

[bug]: Cant start Invoke 3.0.2rc1 #4226

Closed 5chlupp closed 1 year ago

5chlupp commented 1 year ago

Is there an existing issue for this?

OS

macOS

GPU

mps

VRAM

64

What version did you experience this issue on?

3.0.2rc1

What happened?

Hello, since 3.0.1rc1 there is the problem that InvokeAI does not start anymore. No matter if you install it fresh or update an existing installation. Unfortunately, this is still the case with 3.0.2rc1. No matter if it is a Windows or Mac installation.

the error message is:

An exception has occurred: /Users/XXX/Pictures/AI-Kunst/InvokeAI300/models/core/convert/CLIP-ViT-bigG-14-laion2B-39B-b160k is missing == STARTUP ABORTED == One or more necessary files is missing from your InvokeAI root directory Please rerun the configuration script to fix this problem. From the launcher, selection option [7]. From the command line, activate the virtual environment and run "invokeai-configure --yes --skip-sd-weights" Press any key to continue...

Of course, I always try number seven to fix the problem.

If you download the missing folder (Hugging Face), others folders are missing from the folder.

here is a link to the bug report that started with 3.0.1rc1 and documents it more. https://github.com/invoke-ai/InvokeAI/issues/4051

Are there other ways I can help or what I can do to fix it?

Screenshots

No response

Additional context

No response

Contact Details

No response

19wolf commented 1 year ago

I'm also having this issue. When I try to fix broken install, I get these errors:

Re-run the configure script to fix a broken install or to complete a major upgrade
[2023-08-11 17:35:32,614]::[InvokeAI]::INFO --> Initializing InvokeAI runtime directory
[2023-08-11 17:35:32,623]::[InvokeAI]::INFO --> Scanning /Users/19wolf/invokeai/models for new models
Traceback (most recent call last):
  File "/Users/19wolf/invokeai/.venv/bin/invokeai-configure", line 8, in <module>
    sys.exit(invokeai_configure())
             ^^^^^^^^^^^^^^^^^^^^
  File "/Users/19wolf/invokeai/.venv/lib/python3.11/site-packages/invokeai/backend/install/invokeai_configure.py", line 778, in main
    models_to_download = default_user_selections(opt)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/19wolf/invokeai/.venv/lib/python3.11/site-packages/invokeai/backend/install/invokeai_configure.py", line 540, in default_user_selections
    installer = ModelInstall(config)
                ^^^^^^^^^^^^^^^^^^^^
  File "/Users/19wolf/invokeai/.venv/lib/python3.11/site-packages/invokeai/backend/install/model_install_backend.py", line 106, in __init__
    self.mgr = model_manager or ModelManager(config.model_conf_path)
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/19wolf/invokeai/.venv/lib/python3.11/site-packages/invokeai/backend/model_management/model_manager.py", line 350, in __init__
    self._read_models(config)
  File "/Users/19wolf/invokeai/.venv/lib/python3.11/site-packages/invokeai/backend/model_management/model_manager.py", line 373, in _read_models
    self.scan_models_directory()
  File "/Users/19wolf/invokeai/.venv/lib/python3.11/site-packages/invokeai/backend/model_management/model_manager.py", line 938, in scan_models_directory
    model_config: ModelConfigBase = model_class.probe_config(str(model_path))
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/19wolf/invokeai/.venv/lib/python3.11/site-packages/invokeai/backend/model_management/models/sdxl.py", line 56, in probe_config
    checkpoint = read_checkpoint_meta(path)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/19wolf/invokeai/.venv/lib/python3.11/site-packages/invokeai/backend/model_management/models/base.py", line 429, in read_checkpoint_meta
    checkpoint = torch.load(path, map_location=torch.device("meta"))
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/19wolf/invokeai/.venv/lib/python3.11/site-packages/torch/serialization.py", line 815, in load
    return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/19wolf/invokeai/.venv/lib/python3.11/site-packages/torch/serialization.py", line 1033, in _legacy_load
    magic_number = pickle_module.load(f, **pickle_load_args)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.UnpicklingError: invalid load key, '\x00'.
Millu commented 1 year ago

Do these errors still persist with v3.0.2post1?

5chlupp commented 1 year ago

Hi @Millu , thanks for asking! :) Yes unfortunately the error persists with 3.0.2post1

An exception has occurred: /Volumes/lnt7/invoke302p1/models/core/convert/CLIP-ViT-bigG-14-laion2B-39B-b160k is missing == STARTUP ABORTED ==

Number seven does not fix it. I have tried to update and additionally freshly installed into a new folder.

here is a terminal output when installing 3.0.2post1.

XXX@MBP InvokeAI300 % cd /Users/XXX/Downloads/InvokeAI-Installer XXX@MBP InvokeAI-Installer % ls WinLongPathsEnabled.reg install.sh readme.txt install.bat lib templates XXX@MBP InvokeAI-Installer % ./install.sh Initializing the installer. This may take a minute - please wait...

[notice] A new release of pip is available: 23.0.1 -> 23.2.1 [notice] To update, run: /private/var/folders/6x/hhw1h78j3d7dt36zsnxrl9ww0000gn/T/invokeai-installer-tmpag7pxyj9/bin/python3.11 -m pip install --upgrade pip ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ╔══════════════════════════════════════════════ Welcome to the InvokeAI Installer ═══════════════════════════════════════════════╗ ║ ║ ║ macOS Users! ║ ║ ║ ║ Please be sure you have the Xcode command-line tools installed before continuing. ║ ║ If not, cancel with Control-C and follow the Xcode install instructions at ║ ║ https://www.freecodecamp.org/news/install-xcode-command-line-tools/. ║ ║ ║ ║ Some of the installation steps take a long time to run. Please be patient. If the script appears to hang for more than 10 ║ ║ minutes, please interrupt with Control-C and retry. ║ ║ ║ ╚═════════════════════════════════════════════════════════ Darwin-arm64 ═════════════════════════════════════════════════════════╝

InvokeAI will be installed in /Users/XXX/invokeai Would you like to pick a different location? [y/n] (n): y

Please select the destination directory for the installation: [/Users/XXX/Downloads/InvokeAI-Installer]:

/Volumes/lnt7/invoke302p1

InvokeAI will be installed in /Volumes/lnt7/invoke302p1 Would you like to pick a different location? [y/n] (n):

Your platform Darwin-arm64 only supports the "cpu" driver. Proceeding with that. ───────────────────────────────────────────────────── Installing PyTorch 🔥 ────────────────────────────────────────────────────── Collecting numpy~=1.24.0 Using cached numpy-1.24.4-cp311-cp311-macosx_11_0_arm64.whl (13.8 MB) Collecting urllib3~=1.26.0 Using cached urllib3-1.26.16-py2.py3-none-any.whl (143 kB) Collecting requests~=2.28.0 Using cached requests-2.28.2-py3-none-any.whl (62 kB) Collecting torch~=2.0.0 Using cached torch-2.0.1-cp311-none-macosx_11_0_arm64.whl (55.8 MB) Collecting torchmetrics==0.11.4 Using cached torchmetrics-0.11.4-py3-none-any.whl (519 kB) Collecting torchvision>=0.14.1 Using cached torchvision-0.15.2-cp311-cp311-macosx_11_0_arm64.whl (1.4 MB) Collecting packaging Using cached packaging-23.1-py3-none-any.whl (48 kB) Collecting charset-normalizer<4,>=2 Using cached charset_normalizer-3.2.0-cp311-cp311-macosx_11_0_arm64.whl (122 kB) Collecting idna<4,>=2.5 Using cached idna-3.4-py3-none-any.whl (61 kB) Collecting certifi>=2017.4.17 Using cached certifi-2023.7.22-py3-none-any.whl (158 kB) Collecting filelock Using cached filelock-3.12.2-py3-none-any.whl (10 kB) Collecting typing-extensions Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting sympy Using cached sympy-1.12-py3-none-any.whl (5.7 MB) Collecting networkx Using cached networkx-3.1-py3-none-any.whl (2.1 MB) Collecting jinja2 Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB) Collecting pillow!=8.3.*,>=5.3.0 Using cached Pillow-10.0.0-cp311-cp311-macosx_11_0_arm64.whl (3.1 MB) Collecting MarkupSafe>=2.0 Using cached MarkupSafe-2.1.3-cp311-cp311-macosx_10_9_universal2.whl (17 kB) Collecting mpmath>=0.19 Using cached mpmath-1.3.0-py3-none-any.whl (536 kB) Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, packaging, numpy, networkx, MarkupSafe, idna, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision, torchmetrics Successfully installed MarkupSafe-2.1.3 certifi-2023.7.22 charset-normalizer-3.2.0 filelock-3.12.2 idna-3.4 jinja2-3.1.2 mpmath-1.3.0 networkx-3.1 numpy-1.24.4 packaging-23.1 pillow-10.0.0 requests-2.28.2 sympy-1.12 torch-2.0.1 torchmetrics-0.11.4 torchvision-0.15.2 typing-extensions-4.7.1 urllib3-1.26.16

[notice] A new release of pip is available: 23.0.1 -> 23.2.1 [notice] To update, run: /Volumes/lnt7/invoke302p1/.venv/bin/python3.11 -m pip install --upgrade pip ───────────────────────────────────────────── Installing the InvokeAI Application 🎨 ───────────────────────────────────────────── Processing ./lib/InvokeAI-3.0.2.post1-py3-none-any.whl Collecting accelerate~=0.21.0 Using cached accelerate-0.21.0-py3-none-any.whl (244 kB) Collecting albumentations Using cached albumentations-1.3.1-py3-none-any.whl (125 kB) Collecting click Using cached click-8.1.6-py3-none-any.whl (97 kB) Collecting clip-anytorch Using cached clip_anytorch-2.5.2-py3-none-any.whl (1.4 MB) Collecting compel~=2.0.0 Using cached compel-2.0.1-py3-none-any.whl (29 kB) Collecting controlnet-aux>=0.0.6 Using cached controlnet_aux-0.0.6-py3-none-any.whl (261 kB) Collecting timm==0.6.13 Using cached timm-0.6.13-py3-none-any.whl (549 kB) Collecting datasets Using cached datasets-2.14.4-py3-none-any.whl (519 kB) Collecting diffusers[torch]~=0.19.0 Using cached diffusers-0.19.3-py3-none-any.whl (1.3 MB) Collecting dnspython~=2.4.0 Downloading dnspython-2.4.2-py3-none-any.whl (300 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 300.4/300.4 kB 1.2 MB/s eta 0:00:00 Collecting dynamicprompts Using cached dynamicprompts-0.29.0-py2.py3-none-any.whl (48 kB) Collecting easing-functions Using cached easing_functions-1.0.4-py3-none-any.whl (15 kB) Collecting einops Using cached einops-0.6.1-py3-none-any.whl (42 kB) Collecting eventlet Using cached eventlet-0.33.3-py2.py3-none-any.whl (226 kB) Collecting facexlib Using cached facexlib-0.3.0-py3-none-any.whl (59 kB) Collecting fastapi==0.88.0 Using cached fastapi-0.88.0-py3-none-any.whl (55 kB) Collecting fastapi-events==0.8.0 Using cached fastapi_events-0.8.0-py3-none-any.whl (22 kB) Collecting fastapi-socketio==0.0.10 Using cached fastapi_socketio-0.0.10-py3-none-any.whl (7.4 kB) Collecting flask==2.1.3 Using cached Flask-2.1.3-py3-none-any.whl (95 kB) Collecting flask-cors==3.0.10 Using cached Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB) Collecting flask-socketio==5.3.0 Using cached Flask_SocketIO-5.3.0-py3-none-any.whl (17 kB) Collecting flaskwebgui==1.0.3 Using cached flaskwebgui-1.0.3-py3-none-any.whl (6.7 kB) Collecting huggingface-hub>=0.11.1 Using cached huggingface_hub-0.16.4-py3-none-any.whl (268 kB) Collecting invisible-watermark~=0.2.0 Using cached invisible_watermark-0.2.0-py3-none-any.whl (1.6 MB) Collecting matplotlib Using cached matplotlib-3.7.2-cp311-cp311-macosx_11_0_arm64.whl (7.3 MB) Collecting mediapipe Using cached mediapipe-0.10.3-cp311-cp311-macosx_11_0_universal2.whl (53.5 MB) Requirement already satisfied: numpy in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from InvokeAI==3.0.2.post1) (1.24.4) Collecting npyscreen Using cached npyscreen-4.10.5-py3-none-any.whl Collecting omegaconf Using cached omegaconf-2.3.0-py3-none-any.whl (79 kB) Collecting onnx Using cached onnx-1.14.0-cp311-cp311-macosx_10_12_universal2.whl (15.2 MB) Collecting onnxruntime Using cached onnxruntime-1.15.1-cp311-cp311-macosx_11_0_arm64.whl (6.1 MB) Collecting opencv-python Downloading opencv_python-4.8.0.76-cp37-abi3-macosx_11_0_arm64.whl (33.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 33.1/33.1 MB 2.7 MB/s eta 0:00:00 Collecting pydantic==1. Using cached pydantic-1.10.12-cp311-cp311-macosx_11_0_arm64.whl (2.5 MB) Collecting picklescan Using cached picklescan-0.0.11-py3-none-any.whl (11 kB) Requirement already satisfied: pillow in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from InvokeAI==3.0.2.post1) (10.0.0) Collecting prompt-toolkit Using cached prompt_toolkit-3.0.39-py3-none-any.whl (385 kB) Collecting pympler~=1.0.1 Using cached Pympler-1.0.1-py3-none-any.whl (164 kB) Collecting pypatchmatch Using cached PyPatchMatch-1.0.0-py3-none-any.whl (20 kB) Collecting pyperclip Using cached pyperclip-1.8.2-py3-none-any.whl Collecting pyreadline3 Using cached pyreadline3-3.4.1-py3-none-any.whl (95 kB) Collecting python-multipart Using cached python_multipart-0.0.6-py3-none-any.whl (45 kB) Collecting pytorch-lightning Using cached pytorch_lightning-2.0.6-py3-none-any.whl (722 kB) Collecting realesrgan Using cached realesrgan-0.3.0-py3-none-any.whl (26 kB) Requirement already satisfied: requests~=2.28.2 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from InvokeAI==3.0.2.post1) (2.28.2) Collecting rich~=13.3 Using cached rich-13.5.2-py3-none-any.whl (239 kB) Collecting safetensors==0.3.1 Using cached safetensors-0.3.1-cp311-cp311-macosx_12_0_arm64.whl (401 kB) Collecting scikit-image~=0.21.0 Using cached scikit_image-0.21.0-cp311-cp311-macosx_12_0_arm64.whl (12.3 MB) Collecting send2trash Using cached Send2Trash-1.8.2-py3-none-any.whl (18 kB) Collecting test-tube~=0.7.5 Using cached test_tube-0.7.5-py3-none-any.whl Requirement already satisfied: torch~=2.0.1 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from InvokeAI==3.0.2.post1) (2.0.1) Requirement already satisfied: torchvision~=0.15.2 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from InvokeAI==3.0.2.post1) (0.15.2) Requirement already satisfied: torchmetrics~=0.11.0 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from InvokeAI==3.0.2.post1) (0.11.4) Collecting torchsde~=0.2.5 Using cached torchsde-0.2.5-py3-none-any.whl (59 kB) Collecting transformers~=4.31.0 Using cached transformers-4.31.0-py3-none-any.whl (7.4 MB) Collecting uvicorn[standard]~=0.21.1 Using cached uvicorn-0.21.1-py3-none-any.whl (57 kB) Collecting starlette==0.22.0 Using cached starlette-0.22.0-py3-none-any.whl (64 kB) Collecting python-socketio>=4.6.0 Using cached python_socketio-5.8.0-py3-none-any.whl (56 kB) Collecting Werkzeug>=2.0 Using cached Werkzeug-2.3.6-py3-none-any.whl (242 kB) Requirement already satisfied: Jinja2>=3.0 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from flask==2.1.3->InvokeAI==3.0.2.post1) (3.1.2) Collecting itsdangerous>=2.0 Using cached itsdangerous-2.1.2-py3-none-any.whl (15 kB) Collecting Six Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting psutil==5.9.4 Using cached psutil-5.9.4-cp38-abi3-macosx_11_0_arm64.whl (244 kB) Requirement already satisfied: typing-extensions>=4.2.0 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from pydantic==1.->InvokeAI==3.0.2.post1) (4.7.1) Collecting pyyaml Using cached PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl (167 kB) Collecting anyio<5,>=3.4.0 Using cached anyio-3.7.1-py3-none-any.whl (80 kB) Requirement already satisfied: packaging>=20.0 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from accelerate~=0.21.0->InvokeAI==3.0.2.post1) (23.1) Collecting pyparsing~=3.0 Using cached pyparsing-3.1.1-py3-none-any.whl (103 kB) Requirement already satisfied: filelock in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from controlnet-aux>=0.0.6->InvokeAI==3.0.2.post1) (3.12.2) Collecting importlib-metadata Using cached importlib_metadata-6.8.0-py3-none-any.whl (22 kB) Collecting scipy Using cached scipy-1.11.1-cp311-cp311-macosx_12_0_arm64.whl (29.5 MB) Collecting regex!=2019.12.17 Using cached regex-2023.8.8-cp311-cp311-macosx_11_0_arm64.whl (289 kB) Collecting fsspec Using cached fsspec-2023.6.0-py3-none-any.whl (163 kB) Collecting tqdm>=4.42.1 Downloading tqdm-4.66.1-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 2.5 MB/s eta 0:00:00 Collecting PyWavelets>=1.1.1 Using cached PyWavelets-1.4.1-cp311-cp311-macosx_11_0_arm64.whl (4.3 MB) Requirement already satisfied: charset-normalizer<4,>=2 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from requests~=2.28.2->InvokeAI==3.0.2.post1) (3.2.0) Requirement already satisfied: idna<4,>=2.5 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from requests~=2.28.2->InvokeAI==3.0.2.post1) (3.4) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from requests~=2.28.2->InvokeAI==3.0.2.post1) (1.26.16) Requirement already satisfied: certifi>=2017.4.17 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from requests~=2.28.2->InvokeAI==3.0.2.post1) (2023.7.22) Collecting markdown-it-py>=2.2.0 Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB) Collecting pygments<3.0.0,>=2.13.0 Using cached Pygments-2.16.1-py3-none-any.whl (1.2 MB) Requirement already satisfied: networkx>=2.8 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from scikit-image~=0.21.0->InvokeAI==3.0.2.post1) (3.1) Collecting imageio>=2.27 Using cached imageio-2.31.1-py3-none-any.whl (313 kB) Collecting tifffile>=2022.8.12 Downloading tifffile-2023.8.12-py3-none-any.whl (220 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 221.0/221.0 kB 2.8 MB/s eta 0:00:00 Collecting lazy_loader>=0.2 Using cached lazy_loader-0.3-py3-none-any.whl (9.1 kB) Collecting pandas>=0.20.3 Using cached pandas-2.0.3-cp311-cp311-macosx_11_0_arm64.whl (10.7 MB) Collecting tensorboard>=1.15.0 Using cached tensorboard-2.14.0-py3-none-any.whl (5.5 MB) Collecting future Using cached future-0.18.3-py3-none-any.whl Requirement already satisfied: sympy in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from torch~=2.0.1->InvokeAI==3.0.2.post1) (1.12) Collecting boltons>=20.2.1 Using cached boltons-23.0.0-py2.py3-none-any.whl (194 kB) Collecting trampoline>=0.1.2 Using cached trampoline-0.1.2-py3-none-any.whl (5.2 kB) Collecting tokenizers!=0.11.3,<0.14,>=0.11.1 Using cached tokenizers-0.13.3-cp311-cp311-macosx_12_0_arm64.whl (3.9 MB) Collecting h11>=0.8 Using cached h11-0.14.0-py3-none-any.whl (58 kB) Collecting httptools>=0.5.0 Using cached httptools-0.6.0-cp311-cp311-macosx_10_9_universal2.whl (233 kB) Collecting python-dotenv>=0.13 Using cached python_dotenv-1.0.0-py3-none-any.whl (19 kB) Collecting uvloop!=0.15.0,!=0.15.1,>=0.14.0 Using cached uvloop-0.17.0-cp311-cp311-macosx_10_9_universal2.whl (2.1 MB) Collecting watchfiles>=0.13 Using cached watchfiles-0.19.0-cp37-abi3-macosx_11_0_arm64.whl (388 kB) Collecting websockets>=10.4 Using cached websockets-11.0.3-cp311-cp311-macosx_11_0_arm64.whl (121 kB) Collecting qudida>=0.0.4 Using cached qudida-0.0.4-py3-none-any.whl (3.5 kB) Collecting opencv-python-headless>=4.1.1 Downloading opencv_python_headless-4.8.0.76-cp37-abi3-macosx_11_0_arm64.whl (33.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 33.1/33.1 MB 2.5 MB/s eta 0:00:00 Collecting ftfy Using cached ftfy-6.1.1-py3-none-any.whl (53 kB) Collecting pyarrow>=8.0.0 Using cached pyarrow-12.0.1-cp311-cp311-macosx_11_0_arm64.whl (22.6 MB) Collecting dill<0.3.8,>=0.3.0 Using cached dill-0.3.7-py3-none-any.whl (115 kB) Collecting xxhash Using cached xxhash-3.3.0-cp311-cp311-macosx_11_0_arm64.whl (30 kB) Collecting multiprocess Using cached multiprocess-0.70.15-py311-none-any.whl (135 kB) Collecting aiohttp Using cached aiohttp-3.8.5-cp311-cp311-macosx_11_0_arm64.whl (339 kB) Collecting greenlet>=0.3 Using cached greenlet-2.0.2-cp311-cp311-macosx_10_9_universal2.whl (243 kB) Collecting filterpy Using cached filterpy-1.4.5-py3-none-any.whl Collecting numba Using cached numba-0.57.1-cp311-cp311-macosx_11_0_arm64.whl (2.5 MB) Collecting contourpy>=1.0.1 Using cached contourpy-1.1.0-cp311-cp311-macosx_11_0_arm64.whl (229 kB) Collecting cycler>=0.10 Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB) Collecting fonttools>=4.22.0 Using cached fonttools-4.42.0-cp311-cp311-macosx_10_9_universal2.whl (2.7 MB) Collecting kiwisolver>=1.0.1 Using cached kiwisolver-1.4.4-cp311-cp311-macosx_11_0_arm64.whl (63 kB) Collecting pyparsing~=3.0 Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB) Collecting python-dateutil>=2.7 Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting absl-py Using cached absl_py-1.4.0-py3-none-any.whl (126 kB) Collecting attrs>=19.1.0 Using cached attrs-23.1.0-py3-none-any.whl (61 kB) Collecting flatbuffers>=2.0 Using cached flatbuffers-23.5.26-py2.py3-none-any.whl (26 kB) Collecting opencv-contrib-python Downloading opencv_contrib_python-4.8.0.76-cp37-abi3-macosx_11_0_arm64.whl (41.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.4/41.4 MB 2.3 MB/s eta 0:00:00 Collecting protobuf<4,>=3.11 Using cached protobuf-3.20.3-py2.py3-none-any.whl (162 kB) Collecting sounddevice>=0.4.4 Using cached sounddevice-0.4.6-py3-none-macosx_10_6_x86_64.macosx_10_6_universal2.whl (107 kB) Collecting antlr4-python3-runtime==4.9.* Using cached antlr4_python3_runtime-4.9.3-py3-none-any.whl Collecting coloredlogs Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) Collecting wcwidth Using cached wcwidth-0.2.6-py2.py3-none-any.whl (29 kB) Collecting lightning-utilities>=0.7.0 Using cached lightning_utilities-0.9.0-py3-none-any.whl (23 kB) Collecting basicsr>=1.4.2 Using cached basicsr-1.4.2-py3-none-any.whl Collecting gfpgan>=1.3.5 Using cached gfpgan-1.3.8-py3-none-any.whl (52 kB) Collecting addict Using cached addict-2.4.0-py3-none-any.whl (3.8 kB) Collecting lmdb Using cached lmdb-1.4.1-cp311-cp311-macosx_10_9_universal2.whl (169 kB) Collecting tb-nightly Downloading tb_nightly-2.15.0a20230813-py3-none-any.whl (5.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.5/5.5 MB 2.4 MB/s eta 0:00:00 Collecting yapf Using cached yapf-0.40.1-py3-none-any.whl (250 kB) Collecting multidict<7.0,>=4.5 Using cached multidict-6.0.4-cp311-cp311-macosx_11_0_arm64.whl (29 kB) Collecting async-timeout<5.0,>=4.0.0a3 Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB) Collecting yarl<2.0,>=1.0 Using cached yarl-1.9.2-cp311-cp311-macosx_11_0_arm64.whl (61 kB) Collecting frozenlist>=1.1.1 Using cached frozenlist-1.4.0-cp311-cp311-macosx_11_0_arm64.whl (46 kB) Collecting aiosignal>=1.1.2 Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Requirement already satisfied: MarkupSafe>=2.0 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from Jinja2>=3.0->flask==2.1.3->InvokeAI==3.0.2.post1) (2.1.3) Collecting mdurl~=0.1 Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB) Collecting pytz>=2020.1 Using cached pytz-2023.3-py2.py3-none-any.whl (502 kB) Collecting tzdata>=2022.1 Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB) Collecting bidict>=0.21.0 Using cached bidict-0.22.1-py3-none-any.whl (35 kB) Collecting python-engineio>=4.3.0 Using cached python_engineio-4.5.1-py3-none-any.whl (53 kB) Collecting scikit-learn>=0.19.1 Using cached scikit_learn-1.3.0-cp311-cp311-macosx_12_0_arm64.whl (9.4 MB) Collecting CFFI>=1.0 Using cached cffi-1.15.1-cp311-cp311-macosx_11_0_arm64.whl (174 kB) Collecting grpcio>=1.48.2 Downloading grpcio-1.57.0-cp311-cp311-macosx_10_10_universal2.whl (9.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.0/9.0 MB 2.2 MB/s eta 0:00:00 Collecting google-auth<3,>=1.6.3 Using cached google_auth-2.22.0-py2.py3-none-any.whl (181 kB) Collecting google-auth-oauthlib<1.1,>=0.5 Using cached google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB) Collecting markdown>=2.6.8 Using cached Markdown-3.4.4-py3-none-any.whl (94 kB) Requirement already satisfied: setuptools>=41.0.0 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from tensorboard>=1.15.0->test-tube~=0.7.5->InvokeAI==3.0.2.post1) (67.6.1) Collecting tensorboard-data-server<0.8.0,>=0.7.0 Using cached tensorboard_data_server-0.7.1-py3-none-any.whl (2.4 kB) Collecting wheel>=0.26 Using cached wheel-0.41.1-py3-none-any.whl (64 kB) Collecting humanfriendly>=9.1 Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB) Collecting zipp>=0.5 Using cached zipp-3.16.2-py3-none-any.whl (7.2 kB) Collecting llvmlite<0.41,>=0.40.0dev0 Using cached llvmlite-0.40.1-cp311-cp311-macosx_11_0_arm64.whl (28.1 MB) Requirement already satisfied: mpmath>=0.19 in /Volumes/lnt7/invoke302p1/.venv/lib/python3.11/site-packages (from sympy->torch~=2.0.1->InvokeAI==3.0.2.post1) (1.3.0) Collecting sniffio>=1.1 Using cached sniffio-1.3.0-py3-none-any.whl (10 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting cachetools<6.0,>=2.0.0 Using cached cachetools-5.3.1-py3-none-any.whl (9.3 kB) Collecting pyasn1-modules>=0.2.1 Using cached pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB) Collecting rsa<5,>=3.1.4 Using cached rsa-4.9-py3-none-any.whl (34 kB) Collecting requests-oauthlib>=0.7.0 Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) Collecting joblib>=1.1.1 Using cached joblib-1.3.2-py3-none-any.whl (302 kB) Collecting threadpoolctl>=2.0.0 Using cached threadpoolctl-3.2.0-py3-none-any.whl (15 kB) Collecting platformdirs>=3.5.1 Using cached platformdirs-3.10.0-py3-none-any.whl (17 kB) Collecting tomli>=2.0.1 Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Collecting pyasn1<0.6.0,>=0.4.6 Using cached pyasn1-0.5.0-py2.py3-none-any.whl (83 kB) Collecting oauthlib>=3.0.0 Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB) Installing collected packages: wcwidth, trampoline, tokenizers, safetensors, pytz, pyreadline3, pyperclip, npyscreen, lmdb, flatbuffers, easing-functions, boltons, antlr4-python3-runtime, addict, zipp, xxhash, wheel, Werkzeug, websockets, uvloop, tzdata, tqdm, tomli, tifffile, threadpoolctl, tensorboard-data-server, sniffio, Six, send2trash, scipy, regex, pyyaml, PyWavelets, python-multipart, python-engineio, python-dotenv, pyparsing, pympler, pygments, pydantic, pycparser, pyasn1, pyarrow, psutil, protobuf, prompt-toolkit, platformdirs, picklescan, opencv-python-headless, opencv-python, opencv-contrib-python, oauthlib, multidict, mdurl, markdown, llvmlite, lightning-utilities, lazy_loader, kiwisolver, joblib, itsdangerous, imageio, humanfriendly, httptools, h11, grpcio, greenlet, future, ftfy, fsspec, frozenlist, fonttools, fastapi-events, einops, dnspython, dill, cycler, contourpy, click, cachetools, bidict, attrs, async-timeout, absl-py, yarl, uvicorn, scikit-learn, scikit-image, rsa, requests-oauthlib, python-socketio, python-dateutil, pypatchmatch, pyasn1-modules, onnx, omegaconf, numba, multiprocess, markdown-it-py, importlib-metadata, huggingface-hub, flaskwebgui, flask, eventlet, dynamicprompts, coloredlogs, CFFI, anyio, aiosignal, yapf, watchfiles, transformers, torchsde, starlette, sounddevice, rich, qudida, pandas, onnxruntime, matplotlib, invisible-watermark, google-auth, flask-socketio, flask-cors, diffusers, aiohttp, accelerate, timm, mediapipe, google-auth-oauthlib, filterpy, fastapi, compel, clip-anytorch, albumentations, tensorboard, tb-nightly, pytorch-lightning, fastapi-socketio, facexlib, datasets, controlnet-aux, test-tube, basicsr, gfpgan, realesrgan, InvokeAI Successfully installed CFFI-1.15.1 InvokeAI-3.0.2.post1 PyWavelets-1.4.1 Six-1.16.0 Werkzeug-2.3.6 absl-py-1.4.0 accelerate-0.21.0 addict-2.4.0 aiohttp-3.8.5 aiosignal-1.3.1 albumentations-1.3.1 antlr4-python3-runtime-4.9.3 anyio-3.7.1 async-timeout-4.0.3 attrs-23.1.0 basicsr-1.4.2 bidict-0.22.1 boltons-23.0.0 cachetools-5.3.1 click-8.1.6 clip-anytorch-2.5.2 coloredlogs-15.0.1 compel-2.0.1 contourpy-1.1.0 controlnet-aux-0.0.6 cycler-0.11.0 datasets-2.14.4 diffusers-0.19.3 dill-0.3.7 dnspython-2.4.2 dynamicprompts-0.29.0 easing-functions-1.0.4 einops-0.6.1 eventlet-0.33.3 facexlib-0.3.0 fastapi-0.88.0 fastapi-events-0.8.0 fastapi-socketio-0.0.10 filterpy-1.4.5 flask-2.1.3 flask-cors-3.0.10 flask-socketio-5.3.0 flaskwebgui-1.0.3 flatbuffers-23.5.26 fonttools-4.42.0 frozenlist-1.4.0 fsspec-2023.6.0 ftfy-6.1.1 future-0.18.3 gfpgan-1.3.8 google-auth-2.22.0 google-auth-oauthlib-1.0.0 greenlet-2.0.2 grpcio-1.57.0 h11-0.14.0 httptools-0.6.0 huggingface-hub-0.16.4 humanfriendly-10.0 imageio-2.31.1 importlib-metadata-6.8.0 invisible-watermark-0.2.0 itsdangerous-2.1.2 joblib-1.3.2 kiwisolver-1.4.4 lazy_loader-0.3 lightning-utilities-0.9.0 llvmlite-0.40.1 lmdb-1.4.1 markdown-3.4.4 markdown-it-py-3.0.0 matplotlib-3.7.2 mdurl-0.1.2 mediapipe-0.10.3 multidict-6.0.4 multiprocess-0.70.15 npyscreen-4.10.5 numba-0.57.1 oauthlib-3.2.2 omegaconf-2.3.0 onnx-1.14.0 onnxruntime-1.15.1 opencv-contrib-python-4.8.0.76 opencv-python-4.8.0.76 opencv-python-headless-4.8.0.76 pandas-2.0.3 picklescan-0.0.11 platformdirs-3.10.0 prompt-toolkit-3.0.39 protobuf-3.20.3 psutil-5.9.4 pyarrow-12.0.1 pyasn1-0.5.0 pyasn1-modules-0.3.0 pycparser-2.21 pydantic-1.10.12 pygments-2.16.1 pympler-1.0.1 pyparsing-3.0.9 pypatchmatch-1.0.0 pyperclip-1.8.2 pyreadline3-3.4.1 python-dateutil-2.8.2 python-dotenv-1.0.0 python-engineio-4.5.1 python-multipart-0.0.6 python-socketio-5.8.0 pytorch-lightning-2.0.6 pytz-2023.3 pyyaml-6.0.1 qudida-0.0.4 realesrgan-0.3.0 regex-2023.8.8 requests-oauthlib-1.3.1 rich-13.5.2 rsa-4.9 safetensors-0.3.1 scikit-image-0.21.0 scikit-learn-1.3.0 scipy-1.11.1 send2trash-1.8.2 sniffio-1.3.0 sounddevice-0.4.6 starlette-0.22.0 tb-nightly-2.15.0a20230813 tensorboard-2.14.0 tensorboard-data-server-0.7.1 test-tube-0.7.5 threadpoolctl-3.2.0 tifffile-2023.8.12 timm-0.6.13 tokenizers-0.13.3 tomli-2.0.1 torchsde-0.2.5 tqdm-4.66.1 trampoline-0.1.2 transformers-4.31.0 tzdata-2023.3 uvicorn-0.21.1 uvloop-0.17.0 watchfiles-0.19.0 wcwidth-0.2.6 websockets-11.0.3 wheel-0.41.1 xxhash-3.3.0 yapf-0.40.1 yarl-1.9.2 zipp-3.16.2

[notice] A new release of pip is available: 23.0.1 -> 23.2.1 [notice] To update, run: /Volumes/lnt7/invoke302p1/.venv/bin/python3.11 -m pip install --upgrade pip ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ╭────────────────────────────────────────────────── 🎨 Configuring InvokeAI 🎨 ──────────────────────────────────────────────────╮ │ │ │ This script will: │ │ │ │ 1. Configure the InvokeAI application directory │ │ 2. Help download the Stable Diffusion weight files │ │ and other large models that are needed for text to image generation │ │ 3. Create initial configuration files. │ │ │ │ At any point you may interrupt this program and resume later. │ │ │ │ For the best user experience, please enlarge or maximize this window │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

[2023-08-13 19:01:22,527]::[InvokeAI]::INFO --> Initializing InvokeAI runtime directory [2023-08-13 19:01:22,532]::[InvokeAI]::INFO --> Scanning /Volumes/lnt7/invoke302p1/models for new models [2023-08-13 19:01:22,548]::[InvokeAI]::INFO --> Scanned 6 files and directories, imported 0 models [2023-08-13 19:01:22,560]::[InvokeAI]::INFO --> Scanning /Volumes/lnt7/invoke302p1/models for new models [2023-08-13 19:01:22,576]::[InvokeAI]::INFO --> Scanned 6 files and directories, imported 0 models [2023-08-13 19:02:50,461]::[InvokeAI]::INFO --> Installing support models [2023-08-13 19:02:50,462]::[InvokeAI]::INFO --> Installing ESRGAN Upscaling models... [2023-08-13 19:02:50,462]::[InvokeAI]::INFO --> Installing RealESRGAN_x4plus.pth model file https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth... RealESRGAN_x4plus.pth: 67.1MiB [00:24, 2.75MiB/s]
[2023-08-13 19:03:15,417]::[InvokeAI]::INFO --> ...downloaded successfully [2023-08-13 19:03:15,417]::[InvokeAI]::INFO --> Installing RealESRGAN_x4plus_anime_6B.pth model file https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth... RealESRGAN_x4plus_anime_6B.pth: 17.9MiB [00:06, 2.76MiB/s]
[2023-08-13 19:03:22,170]::[InvokeAI]::INFO --> ...downloaded successfully [2023-08-13 19:03:22,170]::[InvokeAI]::INFO --> Installing ESRGAN_SRx4_DF2KOST_official.pth model file https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.1/ESRGAN_SRx4_DF2KOST_official-ff704c30.pth... ESRGAN_SRx4_DF2KOST_official-ff704c30.pth: 66.9MiB [00:27, 2.41MiB/s]
[2023-08-13 19:03:50,296]::[InvokeAI]::INFO --> ...downloaded successfully [2023-08-13 19:03:50,297]::[InvokeAI]::INFO --> Installing RealESRGAN_x2plus.pth model file https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.1/RealESRGAN_x2plus.pth... RealESRGAN_x2plus.pth: 67.1MiB [00:31, 2.11MiB/s]
[2023-08-13 19:04:22,604]::[InvokeAI]::INFO --> ...downloaded successfully [2023-08-13 19:04:22,606]::[InvokeAI]::INFO --> Downloading core tokenizers and text encoders [2023-08-13 19:04:23,926]::[InvokeAI]::ERROR --> Unable to load weights from pytorch checkpoint file for '/Users/XXX/.cache/huggingface/hub/models--openai--clip-vit-large-patch14/snapshots/8d052a0f05efbaefbc9e8786ba291cfdf93e5bff/pytorch_model.bin' at '/Users/XXX/.cache/huggingface/hub/models--openai--clip-vit-large-patch14/snapshots/8d052a0f05efbaefbc9e8786ba291cfdf93e5bff/pytorch_model.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True. [2023-08-13 19:04:23,974]::[InvokeAI]::INFO --> Scanning /Volumes/lnt7/invoke302p1/models for new models [2023-08-13 19:04:23,994]::[InvokeAI]::INFO --> Scanned 6 files and directories, imported 0 models

INVOKEAI INSTALLATION SUCCESSFUL If you installed manually from source or with 'pip install': activate the virtual environment then run one of the following commands to start InvokeAI.

Web UI: invokeai-web

Command-line client: invokeai

If you installed using an installation script, run: /Volumes/lnt7/invoke302p1/invoke.sh

Add the '--help' argument to see all of the command-line switches available for use.

Press any key to continue...