comfyanonymous/ComfyUI_examples

Flux Dev Diffusion_Models from Example has Issues Loading

F1zzyD opened this issue · 2 comments

The example for loading Flux Dev models found on this page is either outdated or incorrect.

  • Putting the flux1-dev.safetensors file in ComfyUI/models/diffusion_models/ folder and loading the example workflow does not allow the flux1-dev model to be loaded in the "Load Diffusion Model" node. The model "unet_name" always shows "null". I have placed flux1-dev.safetensors in every folder in the models directory for Stable Diffusion and it still fails to load a model.
  • Putting t5xxl_fp16.safetensors and clip_l.safetensors in the ComfyUI/models/clip/ folder and loading the example workflow does not allow either clip to be loaded in the "DualCLIPLoadler" node. They both always show "null"

It's correct, they are where I have them on my own install.

There's something wrong with your ComfyUI if it doesn't work.

Ugh, I see what happened wrong. Leaving this here just in case others encounter this issue:

Go to (or create) "extra_models_paths.yaml" and check your base_path. Add diffusion_models: diffusion_models and make sure it is in the same directory as your base_path. For example:

comfyui:
    base_path: /mnt/data/aimodels/

    checkpoints: Stable-diffusion
    configs: Stable-diffusion
    vae: VAE
    loras: |
         Lora
         LyCORIS
    upscale_models: |
                  ESRGAN
                  RealESRGAN
                  SwinIR
    embeddings: embeddings
    hypernetworks: hypernetworks
    controlnet: ControlNet
    diffusion_models: diffusion_models