Open linvis opened 5 years ago
I have the same problem. How did you solve it?
I had not find the root reason. So, I have to start a new terminal with running
import tensorflow as tf
sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
after that, run bert-as-service, and GPU works well.
Maybe you can have a try.
I'm getting the same error.
Prerequisites
bert-as-service
? 1.9.3README.md
?README.md
?System information
bert-as-service
version: 1.9.3Description
I'm using this command to start the server:
and with warning:
W:VENTILATOR:[__i:_ge:246]:no GPU available, fall back to CPU
I feel strange, because I use google cloud server with a GPU K80, and it works well with tensorflow.so I make a try with code
It print correct GPU informations.
And then I start the server again, GPU works
but if I don't run the code
it will still show 'no GPU available'.
and calling the server via:
Then this issue shows up:
...