When I tried to use Flair taggers in combination with Universal Sentence Encoder(USE) for embedding everything worked well on CPU and GPU produced error:
self._session = tf_session.TF_NewSessionRef(self._graph.c_graph, opts)
tensorflow.python.framework.errors_impl.InternalError: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version
I knew that CUDA, CUDA runtime, cuDNN are correct because I checked with documantion. I used Docker so I am sure about their versions versions. TF.Session was set to allow gpu growth.
Strangely using only Flair worked and using only TensorFlow (without Flair imported) worked well. Problems appeared with versions:
torch==1.3.1
tensorflow-gpu==1.14.0
tensorflow-hub==0.7.0
numpy==1.17.1
flair==0.4.4