is there a way to add custom addresses for the models? #72
-
is there a way to add custom addresses for the models? i also have automatic1111 installed and dont want to copy over everything it would be like 200gbs of models loras and stuff |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 19 replies
-
maybe we can use the symbolic link? For windows: For Linux: |
Beta Was this translation helpful? Give feedback.
-
Yes until I add an option to set your a1111 directory and have it auto load models/etc... from there you can use symlinks, they will work. The ComfyUI code will search subfolders and follow symlinks so you can create a link to your model folder inside the models/checkpoints/ folder for example and it will work. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/comfyanonymous/ComfyUI/blob/master/extra_model_paths.yaml.example Update the ui, copy the new ComfyUI/extra_model_paths.yaml.example to ComfyUI/extra_model_paths.yaml and edit it to set the path to your a1111 ui. |
Beta Was this translation helpful? Give feedback.
-
This mostly works well. I did have to change it some to accommodate the secondary location for Loras in the extension folder. I also tried adding the checkpoint folder to the vaes so the .vae.pt vaes could be included as well. But i'm not sure how or if such filtering/wildcard behavior is an option for these yaml files. This is what i have so far:
Other than the wildcard being invalid and that folder ignored, it works rather well. One additional point though, that likely applies to any of these loaders. When you have 1,300+ Loras it's very slow to scroll through. The up/down keys do nothing and scrolling with the mouse wheel is very very slow for such a massive list. It would be handy if that could be improved some and possibly some keyboard keys added to those list views as well. |
Beta Was this translation helpful? Give feedback.
-
yeah but what about clipvision models where do you have them stored in auto1111 to put in comfui? Also in the extra_model_paths.yaml there is now a Comfyui section to put im guessing models from another comfyui models folder. My folders for Stable Diffusion have gotten extremely huge. 400 GB's at this point and i would like to break things up by atleast taking all the models and placing them on another drive. But will that make the generation of things slower if it has to grab the model on another drive. And most important, yall talking about symbolic links and junctions. Could I have models on another drive and then junction them to the real location they need to be or is just ediitng that extra model folder and putting all my model directories work best? |
Beta Was this translation helpful? Give feedback.
-
I changed the path of yaml file, but it didn't work. Here is the line that I changed : base_path: P:\AI_Tools\StabilityMatrix-win-x64\Data\Models\StableDiffusion\ Is it anything wrong? |
Beta Was this translation helpful? Give feedback.
-
Optimally there would be a model management library that works alongside ComfyUI and provides configs for all main uis. |
Beta Was this translation helpful? Give feedback.
-
Does this support relative paths? Here's my file structure
In yaml file I commented out everything, leaving only
I restarted the main.py, models are not being detected. |
Beta Was this translation helpful? Give feedback.
-
Not only the models but you can network ComfyUI installs by sharing Custom Nodes However, my goal is to have multiple Comfy intalls on the same system with each having a restricted set from Custom Nodes Share for specialised tasks. I'd like to heed those 'conflict' warnings when installing new Custom Nodes. The link above helps me do it. Currenly my setup is inefficient with posssilbe conflicting nodes. I'm trialing Forge + one ComfyUI in SM (Stabilty Matrix) which I'm hesitant to include my two other ComfyUI installs so I keep them seperate. When it comes to particularly stubborn Custom Node installs require a manual 'nudge' to succeed I know I can do it with Comfy on its own (not inside Stabilty Matrix). My dilema is I also have two ComfyUI's external to SM. It may be convenient to have all the models for everything in SM and all the Custom Nodes as a share possibly also inside SM, but I'm not sure still deciding. SM seems like a promising solution but for me I'm afraid some conflicts may be more difficult to resolve within SM so I'm happy keeping at least one ComfyUI isolated from SM while sharing common resources. |
Beta Was this translation helpful? Give feedback.
https://github.com/comfyanonymous/ComfyUI/blob/master/extra_model_paths.yaml.example
Update the ui, copy the new ComfyUI/extra_model_paths.yaml.example to ComfyUI/extra_model_paths.yaml and edit it to set the path to your a1111 ui.