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

Refactor distributed tests #2777

Merged
merged 6 commits into from
Nov 21, 2022

Conversation

sadra-barikbin
Copy link
Collaborator

Description:
Added a new fixture called distributed which requesting it by a test, makes the test run for 7 preset distributed configurations.
For now this fixture is used in test_precision.py and if was successful, we could use it in other test modules.

Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the PR @sadra-barikbin , overall looks good. I left few comments how to update the code.

tests/ignite/conftest.py Outdated Show resolved Hide resolved
tests/ignite/conftest.py Outdated Show resolved Hide resolved
tests/ignite/conftest.py Outdated Show resolved Hide resolved
tests/ignite/conftest.py Outdated Show resolved Hide resolved
tests/ignite/conftest.py Outdated Show resolved Hide resolved
tests/ignite/conftest.py Outdated Show resolved Hide resolved
tests/ignite/conftest.py Outdated Show resolved Hide resolved
tests/ignite/conftest.py Show resolved Hide resolved
Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks a lot for the PR @sadra-barikbin !

@vfdev-5 vfdev-5 merged commit c6ef9d1 into pytorch:master Nov 21, 2022
@sadra-barikbin sadra-barikbin deleted the Refactor-distributed-tests branch November 21, 2022 11:49
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.

None yet

2 participants