Revert "NCCL process group: avoid workEnqueue when capturing cuda graph (#102542)" (#103341)
This reverts commit 74a5d62d7ca9204b3b24137065c73fc7c66cc02d from PR https://github.com/pytorch/pytorch/pull/102542
That PR introduces a land race (see failure [here](https://hud.pytorch.org/pytorch/pytorch/commit/5aefa61d2ff198d2e4bef301bf2ee42ca4ff66d1)), and since it was exported from phabricator it cannot be reverted normally
Pull Request resolved: https://github.com/pytorch/pytorch/pull/103341
Approved by: https://github.com/huydhn, https://github.com/kit1980