ComfyUI workflow to fully python script?

r/StableDiffusion
AI Hardware

Hey, I have a ComfyUI workflow and I want to rewrite it as a plain Python script. No ComfyUI API, no wrappers, just native Python. Why? I'm planning to use a multi-GPU server and I want to optimize for that. What libraries should I use? Is Diffusers the go-to or is there something better? Any tips from people who've done this? Also, custom nodes are tricky. does anyone know a good method or step-by-step instructions for handling those? Thank you! submitted by /u/1zGamer [link] [comments]