Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Teacache implemented into hunyuan video framepack transformer model#11949

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
AChowdhury1211 wants to merge3 commits intohuggingface:main
base:main
Choose a base branch
Loading
fromAChowdhury1211:teacache_implemented_into_hunyuan_video_framepack_transformer_model

Conversation

AChowdhury1211
Copy link
Contributor

What does this PR do?

  • This PR adds TeaCache support to HunyuanVideoFramepackTransformer3DModel, improving inference latency.

TeaCache is opt-in and can be enabled with:

transformer = HunyuanVideoFramepackTransformer3DModel.from_pretrained(    "lllyasviel/FramePackI2V_HY", torch_dtype=torch.bfloat16)transformer.initialize_teacache()

What’s changed

  • Added TeaCache logic in the model’s forward method.
  • Introduced initialize_teacache() method.
  • Wrote an initialization test inside the existing test for Hunyuan FramePack.

@sayakpaul@yiyixuxu

Let me know the fixes required

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@AChowdhury1211

[8]ページ先頭

©2009-2025 Movatter.jp