krita-ai-diffusion icon indicating copy to clipboard operation
krita-ai-diffusion copied to clipboard

Where do I put Flux models?

Open xtywwl opened this issue 1 year ago • 7 comments

My Flux model is not appearing in Krita's models folder.

xtywwl avatar Aug 16 '24 03:08 xtywwl

@xtywwl

image

piotrkucharski avatar Aug 17 '24 16:08 piotrkucharski

Regarding this I actually have a bit of an odd situation. I've added the unet folder to extra_model_paths.yaml in my ComfyUI folder, but only some of the models I have show up.

a1111:
    base_path: /opt/stable-diffusion-web-ui/

    checkpoints: |
         /.../.sd-models/Stable-diffusion
         /.../.sd-models/unet
[user@host unet]$ ls -al
total 91559488
drwxr-xr-x 1 user group         374 Aug 14 17:17 .
drwxr-xr-x 1 user group         326 Aug  3 14:25 ..
-rw-r--r-- 1 user group 11901525888 Aug  3 14:17 flux1-dev-fp8.safetensors
-rw-r--r-- 1 user group 12044280207 Aug 14 17:17 flux1DevV1V2Flux1_flux1DevBNBNF4V2.safetensors
-rw-r--r-- 1 user group 11891329784 Aug  3 14:21 flux1-schnell-fp8.safetensors
-rw-r--r-- 1 user group         536 Aug  4 00:45 flux1-schnell.json
-rw-r--r-- 1 user group 23782506688 Aug  4 01:39 flux1-schnell.sft
-rw-r--r-- 1 user group 17068629590 Aug  8 13:00 speedFP8_e4m3fn.safetensors
-rw-r--r-- 1 user group 17068629726 Aug 13 14:16 speedFP8_e5m2.safetensors

For whatever reason, in the plugin I only see flux1DevV1V2Flux1_flux1DevBNBNF4V2, speedFP8_e4m3fn and speedFP8_e5m2.

mvstrawn avatar Aug 17 '24 18:08 mvstrawn

It's checkpoints only

Acly avatar Aug 17 '24 20:08 Acly

It's checkpoints only

In my explanation above, flux1-dev-fp8.safetensors flux1-schnell-fp8.safetensors flux1-schnell.sft are usable models in ComfyUI. I'm not sure I understand the difference between these three and the other three that appear in the list, but if this is intended behavior that's fine, I'm not asking for an explanation, just wanted to bring it to your attention.

mvstrawn avatar Aug 19 '24 01:08 mvstrawn

@xtywwl

图像

就是在放在这个目录下但是,krita无法显示,很多人都有这个问题

xtywwl avatar Aug 19 '24 03:08 xtywwl

don't forget to update "ComfyUI Nodes for External Tooling" and "ComfyUI Inpaint Nodes" in comfyui Custom Nodes Manager

Peter5Chiou avatar Aug 19 '24 03:08 Peter5Chiou

@xtywwl 图像

就是在放在这个目录下但是,krita无法显示,很多人都有这个问题

你必须从 hugginface 中的 comfyui-org 下载模型。我也遇到了同样的问题 // You Have to download the models from comfyui-org in hugginface. I Had the same problem: https://huggingface.co/Comfy-Org/flux1-schnell/tree/main https://huggingface.co/Comfy-Org/flux1-dev/tree/main

FHeifer avatar Aug 20 '24 15:08 FHeifer

See https://github.com/Acly/krita-ai-diffusion/discussions/1176 for wider support of various Flux models.

Acly avatar Sep 13 '24 11:09 Acly