tf.distribute.experimental.CollectiveCommunication

Communication choices for CollectiveOps.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.distribute.experimental.CollectiveCommunication, `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 Variables

  • AUTO
  • NCCL
  • RING