Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enhance the documentation for DistributedDataParallel from torch.nn.parallel.distributed #16010

Closed
bombs-kim wants to merge 2 commits into
pytorch:masterfrom
bombs-kim:distributed
Closed

Enhance the documentation for DistributedDataParallel from torch.nn.parallel.distributed #16010
bombs-kim wants to merge 2 commits into
pytorch:masterfrom
bombs-kim:distributed

Conversation

@bombs-kim
Copy link
Copy Markdown
Contributor

@bombs-kim bombs-kim commented Jan 14, 2019

And maybe one more change is needed. According to the current docs

The batch size should be larger than the number of GPUs used locally.

But shouldn't the batch size be larger than the number of GPUs used either locally or remotely? Sadly, I couldn't experiment this with my single GPU.

@ezyang
Copy link
Copy Markdown
Contributor

ezyang commented Jan 17, 2019

Re your question, I'm not sure. Maybe @teng-li or @pietern know

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
…arallel.distributed (pytorch#16010)

Summary:
- a typo fixed
- made the docs consistent with pytorch#5108

And maybe one more change is needed. According to the current docs
> The batch size should be larger than the number of GPUs used **locally**.

But shouldn't the batch size be larger than the number of GPUs used **either locally or remotely**? Sadly, I couldn't experiment this with my single GPU.
Pull Request resolved: pytorch#16010

Differential Revision: D13709516

Pulled By: ezyang

fbshipit-source-id: e44459a602a8a834fd365fe46e4063e9e045d5ce
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.

3 participants