Did you manage to solve this issue?
I get exactly the same error when I try to use the GPU (Tesla K80) on Scientific Linux. Anaconda 3, Cuda 9.1, Nvidia Driver version 390.30.
EDIT: Apparently, for me it is a GPU related issue. When I run nvidia-smi, I detected that some of my GPUs have a “Volatile Uncorr. ECC”. When I set CUDA_VISIBLE_DEVICES to anything other than those, I can run the code on GPU. The issue should be resolved when I reset the GPUs and reboot.