Skip to content
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

[Tests] Fix mps reproducibility issue when running with pytest-xdist #976

Merged
merged 6 commits into from
Oct 25, 2022

Conversation

anton-l
Copy link
Member

@anton-l anton-l commented Oct 25, 2022

DDIMPipelineFastTests.test_inference fails the first time it's launched with pytest -n 4, but passes the second time. This PR makes sure that the tests run in a single process

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 25, 2022

The documentation is not available anymore as the PR was closed or merged.

@anton-l anton-l changed the title [WIP] Debugging mps DDIM tests Fix mps reproducibility issue when running with pytest-xdist Oct 25, 2022
@anton-l anton-l changed the title Fix mps reproducibility issue when running with pytest-xdist [Tests] Fix mps reproducibility issue when running with pytest-xdist Oct 25, 2022
@anton-l anton-l requested a review from pcuenca October 25, 2022 13:13
Copy link
Member

@pcuenca pcuenca left a comment

Choose a reason for hiding this comment

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

Thanks!

@anton-l anton-l merged commit 28b134e into main Oct 25, 2022
@anton-l anton-l deleted the debug-mps-ddim branch October 25, 2022 13:28
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