Skip to content

Refactor distributed tests#2777

Merged
vfdev-5 merged 6 commits intopytorch:masterfrom
sadra-barikbin:Refactor-distributed-tests
Nov 21, 2022
Merged

Refactor distributed tests#2777
vfdev-5 merged 6 commits intopytorch:masterfrom
sadra-barikbin:Refactor-distributed-tests

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.

@sadra-barikbin sadra-barikbin force-pushed the Refactor-distributed-tests branch from 444353b to 0c7100d Compare November 19, 2022 08:07
@sadra-barikbin sadra-barikbin force-pushed the Refactor-distributed-tests branch from 0c7100d to 1611ed0 Compare November 19, 2022 08:12
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.

2 participants