Remove '--cpu' option from ExecStart command (#10659)

By default, the ExecStart in the system service includes the --cpu flag which forces ComfyUI to run entirely on CPU even if a GPU is present.  This commit removes that flag.
This commit is contained in:
Seth Gregory
2026-01-09 03:07:11 -05:00
committed by GitHub
parent 580e86114a
commit f6f0a5553b

View File

@@ -72,7 +72,7 @@ After=network.target
Type=simple Type=simple
User=root User=root
WorkingDirectory=/opt/ComfyUI WorkingDirectory=/opt/ComfyUI
ExecStart=/opt/ComfyUI/venv/bin/python /opt/ComfyUI/main.py --listen --port 8188 --cpu ExecStart=/opt/ComfyUI/venv/bin/python /opt/ComfyUI/main.py --listen --port 8188
Restart=on-failure Restart=on-failure
[Install] [Install]