Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings


View source on GitHub

Class CollectiveCommunication

Communication choices for CollectiveOps.


  • Class tf.compat.v1.distribute.experimental.CollectiveCommunication
  • Class tf.compat.v2.distribute.experimental.CollectiveCommunication
  • AUTO: Default to runtime's automatic choices.
  • RING: TensorFlow's ring algorithms for all-reduce and all-gather.
  • NCCL: Use ncclAllReduce for all-reduce, and ring algorithms for all-gather.

Class Members

  • AUTO
  • NCCL
  • RING