Repository navigation
lingbot-world - #6070
Draft
hengtaoguo wants to merge 3 commits into
Draft
lingbot-world#6070hengtaoguo wants to merge 3 commits into
hengtaoguo wants to merge 3 commits into
Conversation
…ample.py inference entrypoint Part 4 of 4: Dict-style diffusers checkpoint conversion (WAN2_1_HF_TO_MAXTEXT in param_mapping.py) into one Orbax checkpoint (transformer, VAE, UMT5 text encoder, scheduler config), diffusion pipeline abstraction, WanPipeline2_1, and the canonical sample.py CLI.
…led Wan world model - LingBotWorldModel: Wan blocks + block-causal KV-cache self-attention, chunk RoPE offsets, camera (Plucker) FiLM. - LingBotWorldPipeline: reuses the Wan pipeline (UMT5, VAE, loading) with the distilled 4-step causal sampler. - to_maxtext_diffusers.py: COMPONENT_SOURCES for non-diffusers layouts (raw .pth, key converters, default configs); LINGBOT_WORLD_FAST_HF_TO_MAXTEXT built on the Wan 2.1 mapping. - sample.py: registers lingbot-world-fast. - Parity: unit tests vs the reference modules; compare_reference.py / reference_dump_lingbot.py for end-to-end checks.
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
This branch has not been deployed
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.
Description
Start with a short description of what the PR does and how this is a change from
the past.
The rest of the description includes relevant details and context, examples:
If the change fixes a bug or a Github issue, please include a link, e.g.,:
FIXES: b/123456
FIXES: #123456
You can also provide a comma-separated list. If you don't want to close a bug but
simply to reference it, use BUGS, e.g.:
BUGS: b/123456
Notice 1: Once the PR has 2 approvals, the "pull ready" label will automatically be assigned (on PRs from forks, a maintainer adds it). It runs all tests, and the PR is imported for merging once they pass.
This label is used for administrative purposes. Please do not add it manually.
Notice 2: For external contributions, our settings currently require an approval from a MaxText maintainer to trigger CI tests.
Notice 3: Tests marked
scheduled_onlyare skipped on PRs and only run in the periodic scheduled CI.If you need them (plus the TPU7X suite) on your PR, add the
scheduled-onlylabel; the full pipelinere-runs as a scheduled run. Remove and re-add the label to trigger it again.
Tests
Please describe how you tested this change, and include any instructions and/or
commands to reproduce.
Checklist
Before submitting this PR, please make sure (put X in square brackets):
gemini-reviewlabel.skip-ci-testsso only CPU/lint/docs checks run during review; a bot removes it after 2 approvals on a 1-commit PR to run TPU/GPU suites, or remove it yourself / ask a maintainer on fork PRs to run them sooner.)