Skip to content

Add DDP support test for prototype datasets #5723

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

Conversation

NicolasHug
Copy link
Member

Kinda works, kinda doesn't. Still very WIP.

@facebook-github-bot
Copy link

facebook-github-bot commented Apr 1, 2022

💊 CI failures summary and remediations

As of commit 9aac9ee (more details on the Dr. CI page):


  • 1/1 failures introduced in this PR

🕵️‍♀️ 1 failure not recognized by patterns:

The following CI failures may be due to changes from the PR
Job Step Action
CircleCI unittest_prototype Run tests 🔁 rerun

This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

Comment on lines +37 to +39
# Note: we only test DDP with world_size=1, but it should be enough for our purpose.
# If we ever need to go full DDP, we'll need to implement a much more complex logic, similar to
# MultiProcessTestCase from torch core.
Copy link
Collaborator

Choose a reason for hiding this comment

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

There is also a way to do that using pytext-xdist and using --dist=each option to launch same test multiple times

@pmeier pmeier deleted the branch pytorch:prototype-datasets-inheritance April 7, 2022 10:49
@pmeier pmeier closed this Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants