Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/software/ml/pytorch.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ export OMP_NUM_THREADS=8 # (2)!
# PyTorch environment variables #
#################################
export MASTER_ADDR=$(hostname) # (3)!
export MASTER_PORT=6000
export MASTER_PORT=29500
Copy link
Member

Choose a reason for hiding this comment

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

How about adding a comment to this line about why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

+1 @bcumming, wording? something like:
Please avoid common ports like 6000, 60000 or <1024 which may be used by another service and could cause a silent tcp socket timeout.
?

export WORLD_SIZE=$SLURM_NPROCS
export TORCH_NCCL_ASYNC_ERROR_HANDLING=1 # (4)!
export TRITON_HOME=/dev/shm/ # (5)!
Expand Down