How to configure "extra_model_paths.yaml" for xlabs models?
Your question
Xlabs models (https://github.com/XLabs-AI/x-flux-comfyui) explian to us that models shall be put inside this path: ComfyUI/models/xlabs/loras and ComfyUI/models/xlabs/controlnets
I would like to have the models in another path, could you tell me if it's possible to do it with the yaml file? I tried to create a new entry like this:
.... vae: models/vae/ xlabs: ..._\models\xlabs
It did not work that great!
Ho to configure it what to write in the yaml?
Btw this is how it looks in base install:
Logs
No response
Other
No response
you can use the standard windows mklink command which is much more versatile than the yaml file move all xlabs files to [xlabs-path] cd models mklink /d xlabs [xlabs-path] for instance mklink /d xlabs d:\models\xlabs
you can use the standard windows mklink command which is much more versatile than the yaml file move all xlabs files to [xlabs-path] cd models mklink /d xlabs [xlabs-path] for instance mklink /d xlabs d:\models\xlabs
my machine does not allow this.
I'm not an expert, but if you have already set the base path, you need to add a relative path to the xlab folder.
Have you tried this way?
xlabs: models/xlabs
I just noticed that I tried this:
xlabs: models\xlabs
and it should have been \ instead of /
but doubt it would work, because there are some codes related to these in nodes.py or and config paths scripts etc
I just noticed that I tried this: xlabs: models\xlabs and it should have been \ instead of / but doubt it would work, because there are some codes related to these in nodes.py or and config paths scripts etc
Yeah, it should work both ways.
If changing \ to / didn't work, I would also give a chance to this format as a last attempt:
xlabs: |
models/xlabs/flux
models/xlabs/loras
models/xlabs/controlnets
models/xlabs/ipadapters
I think there should be some changes in folder_paths.py and nodes.py (from main comfy) to accompany the yaml changes. I tried with ChatGPT but could not find a good working solution.
I think there should be some changes in folder_paths.py and nodes.py (from main comfy) to accompany the yaml changes. I tried with ChatGPT but could not find a good working solution.
Was it working fine before? Is this symptom happening after updating ComfyUI?
You can try xlabs_controlnets xlabs_loras xlabs_ipadapters
This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.