Repository navigation
[c10d][doc] add a doc page for NCCL ENVs - #128235
shuqiangzhang wants to merge 3 commits into
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/128235
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ You can merge normally! (2 Unrelated Failures)As of commit 5516906 with merge base 543a870 ( FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
| @@ -0,0 +1,33 @@ | |||
| .. _torch_nccl_environment_variables: | |||
|
|
|||
| PYTORCH NCCL Environment Variables | |||
There was a problem hiding this comment.
Nit: PyTorch ProcessGroupNCCL Environment Variables
| - If set to ``1``,enable monitoring thread which aborts the process when the ProcessGroupNCCL Watchdog thread gets stuck and no heartbeat is detected after TORCH_NCCL_HEARTBEAT_TIMEOUT_SEC. This can happen due to calling CUDA/NCCL APIs that may hang. It is Useful to prevent jobs being stuck for a prolonged time than necessary tying up cluster resources. | ||
| * - ``TORCH_NCCL_HEARTBEAT_TIMEOUT_SEC`` | ||
| - Control the watchdog heartbeat timeout period after which the monitoring thread will abort the process. | ||
| * - ``TORCH_NCCL_TRACE_BUFFER_SIZE`` |
There was a problem hiding this comment.
nit: mention that 0 disables the trace buffer
| PYTORCH NCCL Environment Variables | ||
| ================================== | ||
| .. list-table:: | ||
| :header-rows: 1 |
There was a problem hiding this comment.
hmm, do we want to mention default values here? pro: i think its helpful. con: its gonna be out of date.
Maybe give a pointer instead to the the code where the default values are set?
Addressing issue: #128204 [ghstack-poisoned]
Addressing issue: #128204 [ghstack-poisoned]
|
@pytorchbot merge |
Merge failedReason: This PR needs a If not, please add the To add a label, you can comment to pytorchbot, for example For more information, see Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot label "release notes: distributed (c10d)" |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Addressing issue: pytorch#128204 Pull Request resolved: pytorch#128235 Approved by: https://github.com/wconstab
Addressing issue: #128204
Stack from ghstack (oldest at bottom):