[Canonicalize decode_latents]#21
Merged
Merged
Conversation
Jayce-Ping
added a commit
to ruihanglix/Flow-Factory
that referenced
this pull request
Jun 4, 2026
…pter files Add the Apache 2.0 license header (constraint X-GenGroup#24) to the Flow-Factory authored Bagel files and run black/isort to satisfy formatting standards (constraint X-GenGroup#21). Vendored modeling/data sources are left untouched. Co-authored-by: Cursor <cursoragent@cursor.com>
Jayce-Ping
added a commit
that referenced
this pull request
Jun 5, 2026
* First adding * Fix device * remove debug * Update bagel * update bagel * update bagel * Fix * Update * Update * Fix * Fix * Fix * update * update * update * update * Update readme * update target module * Update config * Update config * Fix i2i * Update shift * Simplify * update * update * update config * Add cot prompt * simplify bagel * update * update deps * update deps of flash-attn * Update readme * Update readme * Update diffusers submodule * Fix Z-Image model-card * Add sd3.5 to model card * update * Add cast_latents * update readme for new_model * Update save path * Add full config * Update * Update config * Add deps * Fix mismatch caused by wrong dimension of `timesteps` * Update config * fix: expose Bagel pipeline components * chore: reorganize Bagel example configs * chore: update Bagel example defaults * chore: normalize Bagel i2i reward name * chore: update dependency constraints * align main * [models] refactor: hoist Bagel adapter imports to module top Move function-level imports in BagelAdapter._init_tokenizer_and_transforms and BagelPseudoPipeline (huggingface_hub, safetensors, accelerate, and the local modeling/* symbols) to the module top per constraint #22. Co-authored-by: Cursor <cursoragent@cursor.com> * [models] fix: correct encode_video docstring and drop debug comments Rewrite the misleading encode_video docstring to describe its no-op returns-None contract, remove leftover packed-tensor shape debug comments in _forward_flow, and fix a typo in the cfg_renorm_type error message. Co-authored-by: Cursor <cursoragent@cursor.com> * [examples] chore: align Bagel example configs with conventions Relocate examples/grpo/full/bagel.yaml into examples/grpo/full/bagel/default.yaml to match the per-model directory layout (constraint #29), and replace the stale model_type option comment in all Bagel example configs with a pointer to the model registry. Co-authored-by: Cursor <cursoragent@cursor.com> * [docs] docs: mark Bagel as mainline-supported in README Drop the "use this branch" note from the BAGEL-7B-MoT row now that the Bagel adapter is merged into the mainline model stack. Co-authored-by: Cursor <cursoragent@cursor.com> * [models] style: add Apache headers and apply black/isort to Bagel adapter files Add the Apache 2.0 license header (constraint #24) to the Flow-Factory authored Bagel files and run black/isort to satisfy formatting standards (constraint #21). Vendored modeling/data sources are left untouched. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Jayce <93087577+Jayce-Ping@users.noreply.github.com> Co-authored-by: Jayce-Ping <315229706@qq.com> Co-authored-by: Cursor <cursoragent@cursor.com>
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.
No description provided.