add flux.1-krea-dev

Signed-off-by: Vladimir Mandic <mandic00@live.com>
pull/4089/head
Vladimir Mandic 2025-07-31 12:31:16 -04:00
parent fa44521ea3
commit 1d77cefa02
6 changed files with 22 additions and 6 deletions

View File

@ -2,10 +2,15 @@
## Update for 2025-07-31 ## Update for 2025-07-31
- **Models**
- [FLUX.1-Krea-Dev](https://www.krea.ai/blog/flux-krea-open-source-release)
new 12B base model compatible with FLUX.1-Dev from Black Forest Labs with opinionated aesthetics and aesthetic preferences in mind
simply select in *networks -> models -> reference*
- **Feature** - **Feature**
- Wan select which stage to run: *first/second/both* with configurable *boundary ration* when running both stages - **Wan** select which stage to run: *first/second/both* with configurable *boundary ration* when running both stages
in settings -> model options in settings -> model options
- prompt parser allow explict `BOS` and `EOS` tokens in prompt - prompt parser allow explict `BOS` and `EOS` tokens in prompt
- **Nunchaku** support for *FLUX.1-Fill* and *FLUX.1-Depth* models
- **UI** - **UI**
- new embedded docs/wiki search! - new embedded docs/wiki search!
**Docs** search: fully-local and works in real-time on all document pages **Docs** search: fully-local and works in real-time on all document pages

@ -1 +1 @@
Subproject commit 716b1ee7dc8042ba2a62460425930cf3ab472919 Subproject commit 3e0108fedbec300f72c3ca6e06236419d45eb660

View File

@ -165,6 +165,13 @@
"skip": true, "skip": true,
"extras": "sampler: Default, cfg_scale: 3.5" "extras": "sampler: Default, cfg_scale: 3.5"
}, },
"Black Forest Labs FLUX.1 Krea Dev": {
"path": "black-forest-labs/FLUX.1-Krea-dev",
"preview": "black-forest-labs--FLUX.1-Krea-dev.jpg",
"desc": "FLUX.1 Krea [dev] is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions.",
"skip": true,
"extras": "sampler: Default, cfg_scale: 4.5"
},
"lodestones Chroma": { "lodestones Chroma": {
"path": "lodestones/Chroma", "path": "lodestones/Chroma",

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -118,12 +118,16 @@ def load_quants(kwargs, repo_id, cache_dir, allow_quant): # pylint: disable=unus
import nunchaku import nunchaku
nunchaku_precision = nunchaku.utils.get_precision() nunchaku_precision = nunchaku.utils.get_precision()
nunchaku_repo = None nunchaku_repo = None
if 'kontext' in repo_id.lower(): if 'flux.1-kontext' in repo_id.lower():
nunchaku_repo = f"mit-han-lab/nunchaku-flux.1-kontext-dev/svdq-{nunchaku_precision}_r32-flux.1-kontext-dev.safetensors" nunchaku_repo = f"mit-han-lab/nunchaku-flux.1-kontext-dev/svdq-{nunchaku_precision}_r32-flux.1-kontext-dev.safetensors"
elif 'dev' in repo_id.lower(): elif 'flux.1-dev' in repo_id.lower():
nunchaku_repo = f"mit-han-lab/nunchaku-flux.1-dev/svdq-{nunchaku_precision}_r32-flux.1-dev.safetensors" nunchaku_repo = f"mit-han-lab/nunchaku-flux.1-dev/svdq-{nunchaku_precision}_r32-flux.1-dev.safetensors"
elif 'schnell' in repo_id.lower(): elif 'flux.1-schnell' in repo_id.lower():
nunchaku_repo = f"mit-han-lab/nunchaku-flux.1-schnell/svdq-{nunchaku_precision}_r32-flux.1-schnell.safetensors" nunchaku_repo = f"mit-han-lab/nunchaku-flux.1-schnell/svdq-{nunchaku_precision}_r32-flux.1-schnell.safetensors"
elif 'flux.1-fill' in repo_id.lower():
nunchaku_repo = f"mit-han-lab/svdq-fp4-flux.1-fill-dev/svdq-{nunchaku_precision}_r32-flux.1-schnell.safetensors"
elif 'flux.1-depth' in repo_id.lower():
nunchaku_repo = f"mit-han-lab/svdq-int4-flux.1-depth-dev/svdq-{nunchaku_precision}_r32-flux.1-schnell.safetensors"
elif 'shuttle' in repo_id.lower(): elif 'shuttle' in repo_id.lower():
nunchaku_repo = f"mit-han-lab/nunchaku-shuttle-jaguar/svdq-{nunchaku_precision}_r32-shuttle-jaguar.safetensors" nunchaku_repo = f"mit-han-lab/nunchaku-shuttle-jaguar/svdq-{nunchaku_precision}_r32-shuttle-jaguar.safetensors"
else: else:

2
wiki

@ -1 +1 @@
Subproject commit 906fb43c528af396fe3dd3da3d556f2aa39f5f44 Subproject commit ffd35365c38ebb8e5dbede4d41207cef5c0f96d5