lllyasviel / ControlNet

Let us control diffusion models!
Apache License 2.0
29.94k stars 2.7k forks source link

Add device selection to config #480

Open KamilMatejuk opened 1 year ago

KamilMatejuk commented 1 year ago

Have only one place to change, if you want to run on cuda or cpu.

Running on CPU is slow (~7 mins per image on i5-8300H), but for people with low VRAM wanting to run bigger models, it is a valid solution.