Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request: add the "unet" to extra_model_paths.yaml #4353

Closed
metsweet999 opened this issue Aug 14, 2024 · 1 comment
Closed

request: add the "unet" to extra_model_paths.yaml #4353

metsweet999 opened this issue Aug 14, 2024 · 1 comment
Labels
Feature A new feature to add to ComfyUI.

Comments

@metsweet999
Copy link

Feature Idea

In the file "e: \ a \ comfyui \ extra _ model _ paths.yaml",
Activate this paragraph (remove the "#" in front of each line of this paragraph):

comfyui:
base_path: E:/B/ComfyUI
checkpoints: models/checkpoints/
clip: models/clip/
clip_vision: models/clip_vision/
configs: models/configs/
controlnet: models/controlnet/
embeddings: models/embeddings/
loras: models/loras/
upscale_models: models/upscale_models/
vae: models/vae/
"
Run the comfyui in the "E:\A\ComfyUI" directory,
Models such as ckpt and vae in the "E:/B/ComfyUI/models" directory can be loaded, but models such as unet cannot be loaded.

Add "unet: models/unet/" to the file "e: \ a \ comfyui \ extra _ model _ paths.yaml".
Invalid, unet model still cannot be loaded.

hope the extra model path of unet can be configed in the "extra _ model _ paths.yaml" file.

since flux model can be of the format of unet, this requested feature seemed more and more essential maybe.

Existing Solutions

No response

Other

No response

@metsweet999 metsweet999 added the Feature A new feature to add to ComfyUI. label Aug 14, 2024
@bedovyy
Copy link

bedovyy commented Aug 14, 2024

You can add whatever you want on extra_model_paths.yaml file.

extern:
    base_path: /ai/data/sd
    clip: models/clip
    clip_vision: models/clip_vision
    checkpoints: |
         models/Stable-diffusion
         models/checkpoints
    configs: models/Stable-diffusion
    vae: models/VAE
    loras: |
         models/Lora
         models/LyCORIS
    upscale_models: |
                  models/ESRGAN
                  models/RealESRGAN
                  models/SwinIR
                  models/upscale_models
    embeddings: embeddings
    hypernetworks: models/hypernetworks
    controlnet: models/ControlNet
    photomaker: models/photomaker
    unet: models/unet

as you can see, I am using unet directory from /ai/data/sd.
By the way, I guess it's time to update sample file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature A new feature to add to ComfyUI.
Projects
None yet
Development

No branches or pull requests

3 participants