Switch to per-thread default stream (#9396)

This commit is contained in:
Rong Ou
2023-07-19 17:21:00 -07:00
committed by GitHub
parent 7a0ccfbb49
commit f7f673b00c
8 changed files with 25 additions and 35 deletions

View File

@@ -77,7 +77,6 @@ class NcclDeviceCommunicator : public DeviceCommunicator {
int const world_size_;
int const rank_;
ncclComm_t nccl_comm_{};
cudaStream_t cuda_stream_{};
ncclUniqueId nccl_unique_id_{};
size_t allreduce_bytes_{0}; // Keep statistics of the number of bytes communicated.
size_t allreduce_calls_{0}; // Keep statistics of the number of reduce calls.