Befehl: cd ~ 
Befehl: git clone https://github.com/comfyanonymous/ComfyUI.git 
Befehl: cd ComfyUI

Befehl: sudo apt update 
Befehl: sudo apt install python3.12-venv
Befehl: python3 -m venv venv-comfyui
Befehl: source venv-comfyui/bin/activate

Befehl: pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121 
Befehl: pip install -r requirements.txt

Befehl: sudo nano /etc/systemd/system/comfyUI.service


Befehl: sudo systemctl daemon-reload
Befehl: sudo systemctl enable comfyUI
Befehl: sudo systemctl start comfyUI

Befehl: sudo systemctl status comfyUI


# ComfyUI-Manager installieren

Befehl: cd ~/ComfyUI/custom_nodes 
Befehl: git clone https://github.com/ltdrdata/ComfyUI-Manager.git 
Befehl: sudo systemctl restart comfyUI


Befehl: cd ~/ComfyUI/models
Befehl: ls -all


# Parallel laufende ComfyUI Dienste aktivieren

# Bestehenden Dienst deaktivieren
Befehl: sudo systemctl stop comfyui-service.service
Befehl: sudo systemctl disable comfyui-service.service


# GPU0 und GPU1 Dienst einplanen und aktivieren.
Befehl: sudo systemctl daemon-reload
Befehl: sudo systemctl enable --now comfyui-gpu0.service comfyui-gpu1.service
Befehl: systemctl status comfyui-gpu0.service comfyui-gpu1.service

