Uh oh!
There was an error while loading. Please reload this page.
Log WanAnimate interpolation resizing as a warning - #13936
Closed
wunianze666-netizen wants to merge 1 commit into
Closed
Log WanAnimate interpolation resizing as a warning#13936wunianze666-netizen wants to merge 1 commit into
wunianze666-netizen wants to merge 1 commit into
Conversation
Contributor
Hi @wunianze666-netizen, 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. |
wunianze666-netizenforce-pushed
the
fix/wan-interpolation-warning-logger
branch
from
August 13, 2026 06:06
99433bb to
ed13fd9Comparewunianze666-netizen
commented
Aug 14, 2026
ContributorAuthor
Closing this one-off PR in favor of the pattern-level coordination in #14479. I will wait for maintainer confirmation there, consolidate the approved scope, run the current self-review workflow, and include exact test results before opening a replacement. |
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 freeto 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
print(...)inWanAnimatePipeline.prepare_prev_segment_cond_latents()withlogger.warning(...)Why
This path runs inside library code, so writing directly to stdout makes the message harder to control in downstream applications. The rest of the pipeline already uses structured warnings for similar resizing notices.
Validation
python -m pytest tests/pipelines/wan/test_wan_animate.py -k test_prepare_prev_segment_cond_latents_logs_interpolation_warning -qruff check src/diffusers/pipelines/wan/pipeline_wan_animate.py tests/pipelines/wan/test_wan_animate.pyruff format --check src/diffusers/pipelines/wan/pipeline_wan_animate.py tests/pipelines/wan/test_wan_animate.pypython -m py_compile src/diffusers/pipelines/wan/pipeline_wan_animate.py tests/pipelines/wan/test_wan_animate.pyIssue Linkage
This is a small logging cleanup and is not tied to an existing tracked issue.