mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-06 07:12:30 +08:00
Add setup script for InvokeAI installation and initial configuration
This commit is contained in:
parent
0c63b4f6e3
commit
79d5ac59fc
7
Untitled-2
Normal file
7
Untitled-2
Normal 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
|
||||
6
main.py
6
main.py
@ -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'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user