ltdrdata / ComfyUI-Impact-Pack

Custom nodes pack for ComfyUI This custom node helps to conveniently enhance images through Detector, Detailer, Upscaler, Pipe, and more.
GNU General Public License v3.0
1.44k stars 144 forks source link

Lazy install of basic models? #661

Closed Quasimondo closed 3 days ago

Quasimondo commented 3 days ago

I wonder if in a future version the download of the basic models could be postponed until they are actually required? Right now they are all downloaded when one installs the package which can be a nuisance on a slow or metered connection in particular when one is not needing those particular models but just some of the other nodes. Also it prevents running the server until the entire download has finished.

ltdrdata commented 3 days ago

If you create an empty file named skip_download_model in the ComfyUI/custom_nodes/ directory, it will skip the model download step during the installation of the impact pack.