Skip to content

Fix deprecation warnings in test_ltx_image2video.py #11538

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

Conversation

AChowdhury1211
Copy link
Contributor

@AChowdhury1211 AChowdhury1211 commented May 10, 2025

What does this PR do?

This PR fixes two warnings that appeared during testing:

  • A FutureWarning related to image tensor value range in image_processor.py.
  • A DeprecationWarning regarding array_wrap usage in NumPy 2.0 in the test script.

These minor changes help clean up test output and ensure future compatibility.

Before submitting

Sorry, something went wrong.

Copy link
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

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

thanks!

@AChowdhury1211
Copy link
Contributor Author

Hi! Thanks for approving!
This was my first PR, will continue working on LTX and excited to contribute further!

@AChowdhury1211 AChowdhury1211 force-pushed the fixed_warning_during_test_ltx_video2video_run branch from 253211c to 2bbfc33 Compare May 13, 2025 13:15
@yiyixuxu yiyixuxu merged commit 7e33531 into huggingface:main May 13, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants