Skip to content

[bug]: Installer tries to install too many dependencies at once and freezes #8681

@axoking

Description

@axoking

Is there an existing issue for this problem?

  • I have searched the existing issues

Install method

Invoke's Launcher

Operating system

Linux

GPU vendor

Nvidia (CUDA)

GPU model

RTX 4060

GPU VRAM

8GB

Version number

Launcher

Browser

No response

System Information

Fedora Linux

What happened

When trying to install InvokeAI, it tries to download a lot of packages at the same time. This overloads my WiFi bandwidth, which then leads to all the downloads freezing like this:

⠼ Preparing packages... (74/116)
nvidia-cufile-cu12 ------------------------------ 253.14 KiB/1.14 MiB
sentencepiece ------------------------------ 46.03 KiB/1.24 MiB
kiwisolver ------------------------------ 59.91 KiB/1.41 MiB
networkx   ------------------------------ 56.27 KiB/1.97 MiB
pydantic-core ------------------------------ 52.69 KiB/1.98 MiB
jax        ------------------------------ 62.88 KiB/2.70 MiB
tokenizers ------------------------------ 77.33 KiB/3.10 MiB
hf-xet     ------------------------------ 62.88 KiB/3.17 MiB
diffusers  ------------------------------ 53.16 KiB/3.39 MiB
uvloop     ------------------------------ 50.58 KiB/4.22 MiB
pywavelets ------------------------------ 62.91 KiB/4.28 MiB
fonttools  ------------------------------ 61.74 KiB/4.72 MiB
ml-dtypes  ------------------------------ 33.72 KiB/4.78 MiB
sympy      ------------------------------ 61.70 KiB/6.01 MiB
pillow     ------------------------------ 60.72 KiB/6.71 MiB
invokeai   ------------------------------ 62.91 KiB/8.04 MiB
matplotlib ------------------------------ 51.87 KiB/8.31 MiB
torchvision ------------------------------ 887.69 KiB/8.33 MiB
transformers ------------------------------ 60.36 KiB/11.44 MiB
onnxruntime ------------------------------ 46.80 KiB/12.56 MiB
onnx       ------------------------------ 57.04 KiB/15.19 MiB

Then, after 30 seconds, the install fails due to a timeout

What you expected to happen

Please give use the option to reduce the number of concurrent installations, or adjust them automatically to the network speed, or at least give us the option to disable the timeout.

Thank you!

How to reproduce the problem

Reproduce:
Do a normal installation in a bad WiFi which can't handle all the sockets simultaniously.

Additional context

No response

Discord username

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions