ai-dock / comfyui

ComfyUI docker images for use in GPU cloud and local environments. Includes AI-Dock base for authentication and improved user experience.
Other
660 stars 225 forks source link

I am a noob, where do I put models and modules/plugins? #39

Closed Corshi closed 3 months ago

Corshi commented 9 months ago

The directory structure seems different than other repos and I have no idea how to correctly use the directories of this. Maybe a package that already contain ltdrdata / ComfyUI-Manager ?

hongminpark commented 9 months ago
image

Description is at here

robballantyne commented 9 months ago

The storage directory only tracks models because nodes have dependencies and trying to keep them working between container teardowns is likely to break things.

The entries at /opt/ai-dock/storage_monitor/etc/mappings.sh determine where files should be linked to. This is to support a future image that will contain several Stable Diffusion apps that all rely on the same models.

To install nodes you can either manually install them in /opt/ComfyUI/custom_nodes or you can provide a provisioning script URL on start. The default is https://raw.githubusercontent.com/ai-dock/comfyui/main/config/provisioning/default.sh but you can pass any URL that points to a bash script.

Hope this helps!

Six6pounder commented 9 months ago

What about ultralytics folder? Doesn't seems to work

robballantyne commented 9 months ago

I'll add it in as a default this afternoon. You can also add it by adding an entry in mappings.sh if you cannot wait but I will do it today

robballantyne commented 9 months ago

https://github.com/ai-dock/comfyui/commit/94c7554b5cddb245236985ce472e183833565337 adds more useful mappings.

Build running at https://github.com/ai-dock/comfyui/actions/runs/8011776891