Skip to content

Conversation

kaixuanliu
Copy link
Contributor

@DN6 pls help review, thx!

@yao-matrix
Copy link
Contributor

tolerance as 1e-2 is too loose, @kaixuanliu, pls do more investigations.

@kaixuanliu
Copy link
Contributor Author

This PR is aimed to solve two precision failed test cases in diffusers CI on Intel XPU platform:
1.pytest -rA tests/pipelines/kandinsky2_2/test_kandinsky_controlnet.py::KandinskyV22ControlnetPipelineIntegrationTests::test_kandinsky_controlnet
2.pytest -rA tests/pipelines/kandinsky3/test_kandinsky3_img2img.py::Kandinsky3Img2ImgPipelineFastTests::test_encode_prompt_works_in_isolation

for case 1, I compared the output images, they are perceptualy same(see attached output.bmp
expected_output.bmp
), so I think the tolerance value change is accepatable.

for case 2, maybe the 1e-2 value is loose, I will take it back. Let's solve case 1 first.

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