System information
tensorflow detected 'xla_gpu' , but 'gpu' expected
train_model = keras.utils.multi_gpu_model(train_model, gpus=2) File "/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/utils/multi_gpu_utils.py", line 182, in multi_gpu_model available_devices)) ValueError: To call
multi_gpu_modelwith
gpus=2, we expect the following devices to be available: ['/cpu:0', '/gpu:0', '/gpu:1']. However this machine only has: ['/cpu:0', '/xla_gpu:0', '/xla_gpu:1', '/xla_cpu:0']. Try reducing
gpus.
seems that you are using a XLA compiled tf build. Not sure if it's a bug. Need some confirmation from the tf team members.