Skip to content

[WAN] fix recompilation issues #11475

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 1, 2025
Merged

[WAN] fix recompilation issues #11475

merged 4 commits into from
May 1, 2025

Conversation

sayakpaul
Copy link
Member

@sayakpaul sayakpaul commented May 1, 2025

What does this PR do?

Merged #11451 into this PR to keep it complete. Part of #11430

To test, run the following in a GPU machine:

RUN_SLOW=1 RUN_COMPILE=1 pytest tests/models/transformers/test_models_transformer_wan.py -k "test_torch_compile_recompilation_and_graph_break"

@tongyu0924 FYI.

@sayakpaul sayakpaul added performance Anything related to performance improvements, profiling and benchmarking torch.compile labels May 1, 2025
@sayakpaul sayakpaul requested review from yiyixuxu and a-r-r-o-w May 1, 2025 05:27
Copy link
Member

@a-r-r-o-w a-r-r-o-w left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, lgtm!

@HuggingFaceDocBuilderDev

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.

@yiyixuxu yiyixuxu merged commit d70f8ee into main May 1, 2025
15 of 16 checks passed
@yiyixuxu yiyixuxu deleted the fix-qan-compilations branch May 1, 2025 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Anything related to performance improvements, profiling and benchmarking torch.compile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants