disable nccl in memopt fit a line unittest

shanyi15-patch-2
qijun 7 years ago
parent 5b635682e6
commit 00fbe67ab4

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

Loading…
Cancel
Save