Skip to content

Conversation

sayakpaul
Copy link
Member

What does this PR do?

Fixes PixArt Sigma tests.

Cc: @lawrence-cj for awareness.

@sayakpaul sayakpaul requested a review from yiyixuxu May 17, 2024 04:34
@@ -336,23 +336,28 @@ def test_pixart_1024(self):
image = pipe(prompt, generator=generator, num_inference_steps=2, output_type="np").images

image_slice = image[0, -3:, -3:, -1]
expected_slice = np.array([0.0742, 0.0835, 0.2114, 0.0295, 0.0784, 0.2361, 0.1738, 0.2251, 0.3589])
expected_slice = np.array([0.4517, 0.4446, 0.4375, 0.449, 0.4399, 0.4365, 0.4583, 0.4629, 0.4473])
Copy link
Member Author

Choose a reason for hiding this comment

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

Pretty sure these obtained on a different hardware.

Copy link
Contributor

Choose a reason for hiding this comment

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

I got the expected result on V100 GPU. But, I remember I passed the text before.

Copy link
Member Author

Choose a reason for hiding this comment

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

Our runner is based on t4. But not a big problem.

Copy link
Contributor

Choose a reason for hiding this comment

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

Got it.

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!

@sayakpaul sayakpaul merged commit fb7ae01 into main May 19, 2024
@sayakpaul sayakpaul deleted the pixart-sigma-tests branch May 19, 2024 15:26
sayakpaul added a commit that referenced this pull request Dec 23, 2024
* checking tests

* checking ii.

* remove prints.

* test_pixart_1024

* fix 1024.
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.

3 participants