4371007e154b7882062cab8696b26d520252971b,test/test_tensorflow.py,MPITests,test_horovod_broadcast_gpu,#MPITests#,831

Before Change



        // This test does not apply if there is only one worker.
        if size == 1:
            return

        dtypes = [tf.uint8, tf.int8, tf.uint16, tf.int16,
                  tf.int32, tf.int64, tf.float16, tf.float32,
                  tf.float64, tf.bool]

After Change


        Test that the broadcast correctly broadcasts 1D, 2D, 3D tensors on GPU.
        // Only do this test if there are GPUs available.
        if not tf.test.is_gpu_available(cuda_only=True):
            self.skipTest(("No GPUs available"))

        if os.environ.get("HOROVOD_MIXED_INSTALL"):
            // Skip if compiled with CUDA but without HOROVOD_GPU_ALLREDUCE.
            self.skipTest("Not compiled with HOROVOD_GPU_ALLREDUCE")

        hvd.init()
        rank = hvd.rank()
        local_rank = hvd.local_rank()
        size = hvd.size()

        // This test does not apply if there is only one worker.
        if size == 1:
            self.skipTest("Only one worker available")

        dtypes = [tf.uint8, tf.int8, tf.uint16, tf.int16,
                  tf.int32, tf.int64, tf.float16, tf.float32,
                  tf.float64, tf.bool]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 9

Non-data size: 4

Instances


Project Name: horovod/horovod
Commit Name: 4371007e154b7882062cab8696b26d520252971b
Time: 2020-03-24
Author: github@enrico.minack.dev
File Name: test/test_tensorflow.py
Class Name: MPITests
Method Name: test_horovod_broadcast_gpu


Project Name: horovod/horovod
Commit Name: 4371007e154b7882062cab8696b26d520252971b
Time: 2020-03-24
Author: github@enrico.minack.dev
File Name: test/test_tensorflow.py
Class Name: MPITests
Method Name: test_horovod_broadcast_gpu


Project Name: horovod/horovod
Commit Name: 4371007e154b7882062cab8696b26d520252971b
Time: 2020-03-24
Author: github@enrico.minack.dev
File Name: test/test_tensorflow.py
Class Name: MPITests
Method Name: test_horovod_allreduce_gpu_fused


Project Name: horovod/horovod
Commit Name: 4371007e154b7882062cab8696b26d520252971b
Time: 2020-03-24
Author: github@enrico.minack.dev
File Name: test/test_tensorflow.py
Class Name: MPITests
Method Name: test_horovod_allreduce_cpu_gpu_error


Project Name: horovod/horovod
Commit Name: 4371007e154b7882062cab8696b26d520252971b
Time: 2020-03-24
Author: github@enrico.minack.dev
File Name: test/test_adasum_tensorflow.py
Class Name: MPITests
Method Name: test_horovod_adasum_multiple_allreduce_gpu_nccl


Project Name: horovod/horovod
Commit Name: 4371007e154b7882062cab8696b26d520252971b
Time: 2020-03-24
Author: github@enrico.minack.dev
File Name: test/test_tensorflow.py
Class Name: MPITests
Method Name: test_horovod_allreduce_multi_gpu


Project Name: horovod/horovod
Commit Name: 4371007e154b7882062cab8696b26d520252971b
Time: 2020-03-24
Author: github@enrico.minack.dev
File Name: test/test_torch.py
Class Name: TorchTests
Method Name: test_model_parallelism


Project Name: horovod/horovod
Commit Name: 4371007e154b7882062cab8696b26d520252971b
Time: 2020-03-24
Author: github@enrico.minack.dev
File Name: test/test_tensorflow.py
Class Name: MPITests
Method Name: test_horovod_allreduce_gpu


Project Name: horovod/horovod
Commit Name: 4371007e154b7882062cab8696b26d520252971b
Time: 2020-03-24
Author: github@enrico.minack.dev
File Name: test/test_tensorflow.py
Class Name: MPITests
Method Name: test_horovod_broadcast_grad_gpu


Project Name: horovod/horovod
Commit Name: 4371007e154b7882062cab8696b26d520252971b
Time: 2020-03-24
Author: github@enrico.minack.dev
File Name: test/test_torch.py
Class Name: TorchTests
Method Name: test_horovod_allreduce_cpu_gpu_error