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

Raise error in DistributedProxySampler when sampler is already a DistributedSampler #2120

Conversation

schuhschuh
Copy link
Contributor

@schuhschuh schuhschuh commented Jul 20, 2021

Raise TypeError when sampler passed on to DistributedProxySampler is of type DistributedSampler. See #2118.

@github-actions github-actions bot added the module: distributed Distributed module label Jul 20, 2021
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 @schuhschuh !

@vfdev-5 vfdev-5 merged commit 0e3e966 into pytorch:master Jul 20, 2021
@schuhschuh schuhschuh deleted the 2118-raise-error-when-wrapping-distributed-sampler branch July 20, 2021 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: distributed Distributed module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants