Skip to content

[Canonicalize decode_latents]#21

Merged
Jayce-Ping merged 7 commits into
mainfrom
dev
Feb 1, 2026
Merged

[Canonicalize decode_latents]#21
Jayce-Ping merged 7 commits into
mainfrom
dev

Conversation

@Jayce-Ping

Copy link
Copy Markdown
Collaborator

No description provided.

@Jayce-Ping Jayce-Ping merged commit 2a02378 into main Feb 1, 2026
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant