TensorFlow

API

 tf.distribute / experimental / experimental.Overview


Cross device communication implementation.

  • AUTO: Automatically chosen by Tensorflow.
  • RING: TensorFlow's ring algorithms for all-reduce and all-gather.
  • NCCL: NVIDIA®'s NCCL library. This is now only used for all-reduce on GPUs; all-reduce on CPU, all-gather and broadcast fallbacks to RING.

AUTO tf.distribute.experimental.CommunicationImplementation
NCCL tf.distribute.experimental.CommunicationImplementation
RING tf.distribute.experimental.CommunicationImplementation

此页内容是否对您有帮助