pydn / ComfyUI-to-Python-Extension

A powerful tool that translates ComfyUI workflows into executable Python code.
MIT License
842 stars 87 forks source link

how to pass argument in inference for example --cpu #23

Open maxixa opened 8 months ago

someghuser commented 7 months ago

RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx

It shouldn't need a gpu to generate code. Use case: using cloud gpu to generate images.

pydn commented 7 months ago

Have you tried python workflow_api.py --cpu ?

thigazholi commented 5 months ago

Do we need GPU to run comfyui_to_python.py?

atmaranto commented 3 months ago

You shouldn't need a GPU, but it'll be slow without one.