trunk/4078ac41bdf75d5da306a8214384bfa54c85c4b6: [c10d] Make nccl2 the default NCCL backend (#192281)
- PyTorch 近 90 天出现 211 次
- PyTorch 近 90 天第 208 次发版
- 上一次:同一天稍早 · trunk/e2dee2a4b9e91bfe6374bf39be9449bb438e08c5: Revert "Drop unused includes in c10 (#194959)"
发生了什么
The standard nccl backend still selected legacy ProcessGroupNCCL unless users opted into nccl2 through an environment variable, even though the explicit nccl2 and nccl-legacy names make backend selection reversible. Invert the registration so an unset variable or TORCH_DIST_USE_NCCL2=1 selects nccl2, while TORCH_DIST_USE_NCCL2=0 and the explicit nccl-legacy name remain rollback paths. Defaulting also exposed three n…
摘要按规则整理自下方来源原文