krea2: CREPA self-flow, LayerSync, TREAD, block swap, cfg-zero star, skip layer guidance, and flowmap generation (AnyFlow)#2800
Merged
Conversation
…skip layer guidance, and flowmap generation
4f34c8e to
ed67009
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds new experimental features and improves support for the Krea 2 model in both the backend logic and the documentation. The most significant changes are the addition of advanced training and inference options for Krea 2, including TREAD training, CREPA self-flow, signed-timestep and FlowMap conditioning, and new classifier-free guidance strategies. Documentation in all supported languages has been updated to reflect that Krea 2 is now compatible with Musubi block swapping.
Krea 2 Model Enhancements:
Krea2, including atread_initmethod that configures TREAD routes and router initialization.Krea2, including methods for batch preparation and hidden state selection.Inference Pipeline Improvements:
cfg_zero_star), skip-layer guidance options, and an optimized scaling function to the Krea 2 pipeline, allowing for more advanced and configurable denoising behavior during inference. [1] [2] [3]Documentation Updates:
--musubi_blocks_to_swapoption in all documentation languages to include Krea 2 as a supported model for Musubi block swapping. [1] [2] [3] [4] [5] [6]These changes collectively improve Krea 2’s flexibility for research and advanced users, expand its compatibility with memory-saving features, and ensure documentation is accurate and up-to-date.