Also seen as: "ComfyUI stuck installing custom nodes", "llama-cpp-python build hangs", "sam2 install hangs", "pip install never finishes ComfyUI"
Direct answer
A ComfyUI startup that hangs at "installing custom nodes" and never reaches model download is usually one custom node triggering a heavy from-source compile. Packages like llama-cpp-python and sam2 build native/CMake code, and with no timeout one doomed compile — or a pip resolver backtrack — blocks the whole install indefinitely.
Not sure this workflow will run before you rent a GPU?
Paste your ComfyUI workflow JSON into the free checker — it flags missing nodes, model requirements, and the VRAM/GPU you actually need. No signup.
A custom node’s requirements pull a package that compiles from source (llama-cpp-python, sam2, sometimes xformers) with no prebuilt wheel for your environment.
Add --prefer-binary to the pip install so it takes a prebuilt wheel instead of compiling. Wrap each pip call in a timeout (e.g. timeout 600 pip install ...) so a doomed build is killed and the rest proceeds instead of hanging forever.