Skip to content

Conversation

alvarobartt
Copy link
Member

Description

This PR raises a ValueError if only one of height or width is provided, as either both are provided or both are None (not provided). Note that it's also handled when those values are provided via target_size.

cc @ErikKaum @beurkinger

@alvarobartt alvarobartt requested a review from ErikKaum July 21, 2025 12:53
Copy link
Member

@ErikKaum ErikKaum left a comment

Choose a reason for hiding this comment

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

should be good, thank you 👍

@alvarobartt alvarobartt merged commit 2d4f7f1 into main Jul 22, 2025
6 checks passed
@alvarobartt alvarobartt deleted the fix-text-to-image-hw branch July 22, 2025 14:17
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.

2 participants