Add Echo-Memory community pipeline for Wan 2.1 1.3B - #14471
Open
WayneJin0918 wants to merge 1 commit into
Open
Conversation
Overlay the released context_k1 row onto official Diffusers Wan weights after remapping original DiffSynth/Wan keys. Extra action/SSM slots stay in the Echo-Memory research stack. Co-authored-by: Cursor <cursoragent@cursor.com>
|
ok |
Contributor
|
Hi @WayneJin0918, 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. |
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.
Summary
examples/community/pipeline_echo_memory.py, aWanPipelinesubclass that overlays the released Echo-Memorycontext_k1row onto officialWan-AI/Wan2.1-T2V-1.3B-Diffusers.scripts/convert_wan_to_diffusers.pyand covers 825 / 825 official transformer keys. Extra action-MLP / SSM slots are skipped.Wayne-King/echo-memory-diffusers(context_k1-diffusers/diffusion_pytorch_model.safetensors). The same pipeline class is also hosted there forcustom_pipeline="Wayne-King/echo-memory-diffusers".Paper: arXiv:2606.09803. This is a community overlay, not a new official Wan checkpoint. The multi-chunk camera-action / revisit protocol stays in Echo-Memory.
Test plan
DiffusionPipeline.from_pretrained("Wan-AI/Wan2.1-T2V-1.3B-Diffusers", custom_pipeline="pipeline_echo_memory")pipe.load_echo_memory_weights()prints 825 overlaid keys, 360 skippedpipe.load_converted_echo_memory_weights()loads the remapped safetensorsMade with Cursor