Skip to content

Use default timeout of 30 minutes for gloo backend#13056

Closed
pietern wants to merge 1 commit intopytorch:masterfrom
pietern:export-D10558746
Closed

Use default timeout of 30 minutes for gloo backend#13056
pietern wants to merge 1 commit intopytorch:masterfrom
pietern:export-D10558746

Conversation

@pietern
Copy link
Copy Markdown
Contributor

@pietern pietern commented Oct 24, 2018

Summary:
The existing default timeout was set at 10 seconds, which is too low
for asynchronous tasks that depend on a barrier to resynchronize.
Having a single timeout for all operations is not ideal and this will
be addressed in future commits.

Differential Revision: D10558746

@soumith
Copy link
Copy Markdown
Collaborator

soumith commented Oct 24, 2018

10s seems too little, but 30m seems a bit too much, no? something like 1 min?

@pietern
Copy link
Copy Markdown
Contributor Author

pietern commented Oct 24, 2018

@soumith There are instances where a single process group is used for a barrier between 2+ hour asynchronous tasks that complete with some variance (e.g. +/- 10m). I'm working on supporting per operation timeouts that will allow you to explicitly set a timeout on a barrier to do this, but until then we have to use a single timeout for all ops.

@soumith
Copy link
Copy Markdown
Collaborator

soumith commented Oct 24, 2018

@pietern interesting!

Copy link
Copy Markdown
Contributor

@teng-li teng-li left a comment

Choose a reason for hiding this comment

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

LGTM

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.

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

Summary:
The existing default timeout was set at 10 seconds, which is too low
for asynchronous tasks that depend on a barrier to resynchronize.
Having a single timeout for all operations is not ideal and this will
be addressed in future commits.

Differential Revision: D10558746

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

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

@pietern pietern deleted the export-D10558746 branch October 26, 2018 03:22
@ezyang ezyang added the merged label Jun 25, 2019
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
The existing default timeout was set at 10 seconds, which is too low
for asynchronous tasks that depend on a barrier to resynchronize.
Having a single timeout for all operations is not ideal and this will
be addressed in future commits.
Pull Request resolved: pytorch#13056

Reviewed By: teng-li

Differential Revision: D10558746

Pulled By: pietern

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

5 participants