Skip to content

Fix FreeU tests#7540

Merged
DN6 merged 2 commits intomainfrom
freeu-test-fix
Apr 2, 2024
Merged

Fix FreeU tests#7540
DN6 merged 2 commits intomainfrom
freeu-test-fix

Conversation

@DN6
Copy link
Copy Markdown
Collaborator

@DN6 DN6 commented Apr 1, 2024

What does this PR do?

FreeU tests in the common pipeline tests expect numpy arrays when running comparisons. Some of our pipeline tests return torch tensors are as output type which is causing these tests to fail. This PR

  1. Changes the freeU tests to always set the output type to np so that the comparison is done properly.

Fixes # (issue)

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.

Copy link
Copy Markdown
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!

@DN6 DN6 merged commit 5d21d4a into main Apr 2, 2024
noskill pushed a commit to noskill/diffusers that referenced this pull request Apr 5, 2024
sayakpaul pushed a commit that referenced this pull request Dec 23, 2024
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