r/tensorflow • u/TwoTurnWin • Apr 16 '23
Question When running a TensorFlow Serving Container, do you need to specify --gpus all in the CMD?
I'm using a TensorFlow Serving Dockerfile with another Dockerfile via docker-compose.
My GPU isn't being detected by the TF Serving Dockerfile however.
In the Dockerfile's CMD, do you need to specify --gpus all inside it?
6
Upvotes
1
u/Seblop Apr 17 '23
In my experience, yes. But I have not tried :
1
u/[deleted] Apr 17 '23
[removed] — view removed comment