invoke-ai / invoke-ai/launcher

Disk space check before download/installation

Open
#69 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
48
Forks
23
Avg merge
1m
Merged PRs (30d)
1

Description

This probably applies both to the temp download folder and also to the target installation disk.
```
Deleting existing virtual environment...
Creating virtual environment...
> C:\Users\user\AppData\Local\Temp\2tHK8V6PQNi8BAls37RH9oI97Ms\resources\bin\uv.exe venv --relocatable --prompt invoke --python 3.11 --python-preference only-managed K:\AI\InvokeAI\.venv
Using CPython 3.11.11
Creating virtual environment at: K:\AI\InvokeAI\.venv
Activate with: K:\AI\InvokeAI\.venv\Scripts\activate
Installing invokeai package...
> C:\Users\user\AppData\Local\Temp\2tHK8V6PQNi8BAls37RH9oI97Ms\resources\bin\uv.exe pip install --python 3.11 --python-preference only-managed invokeai[xformers]==v5.9.1 --force-reinstall --compile-bytecode --index=https://download.pytorch.org/whl/cu124
Resolved 169 packages in 2.08s
× Failed to download `torch==2.4.1+cu124`
├─▶ Failed to extract archive
╰─▶ failed to write to file
`C:\Users\user\AppData\Local\uv\cache\.tmpKcFtn6\torch/lib/dnnl.lib`:
There is not enough space on the disk. (os error 112)
help: `torch` (v2.4.1+cu124) was included because `invokeai` (v5.9.1)
depends on `torch`
Failed to install invokeai python package: Process exited with code 1
```
FWIW this also broke my old installation, which wasn't recognized anymore afterwards.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.