Skip to content

Add from_single_file support for SkyReelsV2 and ChronoEdit transformers#13946

Open
HaozheZhang6 wants to merge 1 commit into
huggingface:mainfrom
HaozheZhang6:skyreels-v2-single-file
Open

Add from_single_file support for SkyReelsV2 and ChronoEdit transformers#13946
HaozheZhang6 wants to merge 1 commit 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 <noreply@anthropic.com>
@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.

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.

2 participants