Merge pull request #8755 from QiJune/disable_nccl

disable nccl in memopt fit a line unittest
shanyi15-patch-2
Tao Luo 7 years ago committed by GitHub
commit 158d56743f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,7 +31,7 @@ use_nccl = False
place = fluid.CPUPlace()
if fluid.core.is_compiled_with_cuda():
device_type = 'CUDA'
use_nccl = True
use_nccl = False
place = fluid.CUDAPlace(0)
places = fluid.layers.get_places(device_count=0, device_type=device_type)

Loading…
Cancel
Save