python main.py --cpu

Category: AI/ML Tooling

python main.py --cpu

Run ComfyUI without a GPU

Forces every model to run on the CPU, which works but is dramatically slower, mainly for machines without CUDA or ROCm support. Text-encoder-only steps stay tolerable; diffusion sampling can take minutes per image. Check whether your hardware really lacks GPU support before resorting to this.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.