Add setup script for InvokeAI installation and initial configuration

This commit is contained in:
Quinton 2026-04-02 09:56:55 +02:00
parent 0c63b4f6e3
commit 79d5ac59fc
2 changed files with 10 additions and 3 deletions

7
Untitled-2 Normal file
View File

@ -0,0 +1,7 @@
cd "/Volumes/Macbook Air Ext/web app test"
git clone https://github.com/invoke-ai/InvokeAI.git
cd InvokeAI
../venv/bin/pip install -r requirements.txt
# Download SDXL model to InvokeAI/models/checkpoints/
../venv/bin/python scripts/invoke.py --web
# Open http://localhost:9090

View File

@ -31,10 +31,10 @@ setup_logger(log_level=args.verbose, use_stdout=args.log_stdout)
faulthandler.enable(file=sys.stderr, all_threads=False)
import comfy_aimdo.control
# import comfy_aimdo.control # Disabled on macOS as not supported
if enables_dynamic_vram():
comfy_aimdo.control.init()
# if enables_dynamic_vram():
# comfy_aimdo.control.init()
if os.name == "nt":
os.environ['MIMALLOC_PURGE_DELAY'] = '0'