Skip to content

Set LANCZOS as the default interpolation method for image resizing. #11492

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

Conversation

yijun-lee
Copy link
Contributor

@yijun-lee yijun-lee commented May 5, 2025

What does this PR do?

Fixes #11390

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@asomoza

@asomoza
Copy link
Member

asomoza commented May 5, 2025

thanks @yijun-lee, for contributing in diffusers you have to format the code, can you run these two commands on the console:

make style
make quality

If for some reason you can't run them, I can run a bot that does this for you, but it's always better to run it yourself, specially for larger contributions of code with multiple reviews.

@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.

@yijun-lee
Copy link
Contributor Author

@asomoza Completed!

@asomoza
Copy link
Member

asomoza commented May 5, 2025

thanks!

@asomoza asomoza merged commit 9c29e93 into huggingface:main May 5, 2025
9 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.

Better image interpolation in training scripts follow up
3 participants