Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add from_single_file support for SkyReelsV2 and ChronoEdit transformers#13946

Merged
DN6 merged 2 commits into
huggingface:mainfrom
HaozheZhang6:skyreels-v2-single-file
Jun 25, 2026
Merged

Add from_single_file support for SkyReelsV2 and ChronoEdit transformers#13946
DN6 merged 2 commits into
huggingface:mainfrom
HaozheZhang6:skyreels-v2-single-file

Conversation

@HaozheZhang6

@HaozheZhang6 HaozheZhang6 commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds from_single_file support for SkyReelsV2Transformer3DModel and ChronoEditTransformer3DModel so the community GGUF builds (wsbagnsv1's SkyReels-V2, QuantStack's ChronoEdit-14B) load directly.

Both are built on Wan, and their transformers have the same keys as WanTransformer3DModel, so they reuse convert_wan_transformer_to_diffusers — the converter WanVACE and WanAnimate already use.

Ran the conversion against a real GGUF of each (SkyReels-V2-I2V-14B-540P and ChronoEdit-14B, 1303 tensors each): both map onto their model with 0 missing / 0 unexpected / 0 shape mismatch.

Before submitting

  • Did you use an AI agent (Claude Code) to help with this PR? Yes.
    • Pointed it at .ai/ — read AGENTS.md and review-rules.md.
    • Self-reviewed the diff against .ai/review-rules.md.
  • Did you read the contributor guideline?
  • Was this discussed via a GitHub issue? No — follows the existing single_file pattern; happy to open one if you'd prefer.

Who can review?

@DN6

@github-actions github-actions Bot added size/S PR with diff < 50 LOC single-file labels Jun 14, 2026
SkyReels-V2 and ChronoEdit are both built on Wan, and their transformers have
the same keys as WanTransformer3DModel, so they reuse
convert_wan_transformer_to_diffusers (like WanVACE / WanAnimate). This lets the
community GGUF builds load directly.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@HaozheZhang6 HaozheZhang6 force-pushed the skyreels-v2-single-file branch from 0f2a1fb to c629b53 Compare June 14, 2026 13:09
@HaozheZhang6 HaozheZhang6 changed the title Add from_single_file support for SkyReelsV2Transformer3DModel Add from_single_file support for SkyReelsV2 and ChronoEdit transformers Jun 14, 2026
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@github-actions

Copy link
Copy Markdown
Contributor

Hi @HaozheZhang6, 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. Fixes #1234) to the PR description so the issue is linked. See the contribution guide for more details. If this PR intentionally does not fix a tracked issue, a maintainer can add the no-issue-needed label to silence this reminder.

@DN6

DN6 commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Thanks @HaozheZhang6 👍🏽

@DN6 DN6 merged commit 577b28f into huggingface:main Jun 25, 2026
14 of 15 checks passed
@HaozheZhang6 HaozheZhang6 deleted the skyreels-v2-single-file branch June 25, 2026 16:41
DN6 pushed a commit that referenced this pull request Jul 1, 2026
…rs (#13946)

SkyReels-V2 and ChronoEdit are both built on Wan, and their transformers have
the same keys as WanTransformer3DModel, so they reuse
convert_wan_transformer_to_diffusers (like WanVACE / WanAnimate). This lets the
community GGUF builds load directly.

Co-authored-by: Claude Opus 4.8 <[email protected]>
JingyaHuang pushed a commit to JingyaHuang/diffusers that referenced this pull request Jul 2, 2026
…rs (huggingface#13946)

SkyReels-V2 and ChronoEdit are both built on Wan, and their transformers have
the same keys as WanTransformer3DModel, so they reuse
convert_wan_transformer_to_diffusers (like WanVACE / WanAnimate). This lets the
community GGUF builds load directly.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

single-file size/S PR with diff < 50 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants