Uh oh!
There was an error while loading. Please reload this page.
Krea2 Modular Pipeline Support, Documentation, Test Cases - #14083
Conversation
Hi @Cedric-Perauer, thanks for the PR! It does not appear to link an issue it fixes. If this PR addresses an existing issue, please add a closing keyword (e.g. |
HuggingFaceDocBuilderDev
commented
Jul 8, 2026
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Cedric-Perauer
commented
Jul 8, 2026
The tiny-krea2-modular-pipe for test cases here still needs to be mirrored from https://huggingface.co/CedricPerauer/tiny-krea2-modular-pipe to hf-internal-testing. This is currently leading to the failing modular/fast pytorch check |
dg845
left a comment
There was a problem hiding this comment.
Thanks for the PR! Left some comments :).
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: dg845 <58458699+dg845@users.noreply.github.com>
Co-authored-by: dg845 <58458699+dg845@users.noreply.github.com>
Co-authored-by: dg845 <58458699+dg845@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: dg845 <58458699+dg845@users.noreply.github.com>
Co-authored-by: dg845 <58458699+dg845@users.noreply.github.com>
| image.save("krea2.png") | ||
| ``` | ||
| We additionally provide an example for using Krea2 Turbo. The distilled checkpoint disables guidance by |
There was a problem hiding this comment.
ohh i think turbo should have its own set of blocks that it maps to, it is a different checkpoint
this way the distilled krea should not accept negative prompt and it should have guider disabled by default
you can take a look at how flux2 klein is implemented in relation to the klein base
https://github.com/huggingface/diffusers/blob/main/src/diffusers/modular_pipelines/flux2/modular_blocks_flux2_klein.py
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: YiYi Xu <yixu310@gmail.com>
Co-authored-by: YiYi Xu <yixu310@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: YiYi Xu <yixu310@gmail.com>
yiyixuxu
commented
Jul 22, 2026
@Cedric-Perauer can you update the auto docstrings? we can merge once CI pass |
SamuelTallet
commented
Jul 22, 2026
Thanks @Cedric-Perauer 😊 |
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Cedric-Perauer
commented
Jul 22, 2026
Thanks for your reviews @yiyixuxu ! Docstring should be fixed now |
Uh oh!
There was an error while loading. Please reload this page.
What does this PR do?
This PR implements the Krea2 modular pipeline according to requested feature :
Fixes#14056
The
tiny-krea2-modular-pipefor test cases here still needs to be mirrored from https://huggingface.co/CedricPerauer/tiny-krea2-modular-pipe tohf-internal-testingValidation
Full PyTest output
Docs
Krea2.md is updated accordingly with small section for the modular pipeline
Before submitting
.ai/review-rules.md?documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Potential reviewers for pipelines/models: @yiyixuxu@dg845@asomoza
cc @SamuelTallet