New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tensorflow-gpu #380
Comments
We don't have a particular example is showing how you can include the appropriate GPU version of the tensorflow libraries. However, did you not manage to get it working as discussed in #215 |
Nope. I used seldonio/core-python-wrapper:0.7 wrapper before. |
You should be able to use the steps described in #215 to create a custom assemble script in s2i which will allow you to do any installations needed to install the appropriate libraries. |
how to set environment variable in s2i. If I set in .s2i/environment or in assemble script with "export" it is not reflecting in built image. |
Now environment variable is working fine but When I run tensorflow inside s2i image I get no NVIDIA GPU device is present: /dev/nvidia0 does not exist. while I can successfully able to build and run tensorflow in normal docker image using nvidia as runtime |
Are you sure you have access to the NVIDIA drivers from the container, e.g. for GKE: https://cloud.google.com/kubernetes-engine/docs/how-to/gpus#installing_drivers |
or for example: https://github.com/NVIDIA/nvidia-docker |
Actually when I run s2i built docker image with "- - runtime nvidia", nvidia drivers are not getting installed, but I can able to run other docker image with "runtime nvidia" successfully. |
Does seldonio/seldon-core-s2i-python3:0.4 image supports nvidia-390 driver? If not which version does it support, compatible with cuda 9.0? |
You may need to replace the cpu the tensorflow library with the gpu one. |
I already have tensorflow gpu in my seldon image. But, my issue is that 2019-01-14 10:58:31.828997: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA This error is probably due to nvidia driver version mismatch. So as mentioned in #380 (comment) which version of nvidia driver does seldonio/seldon-core-s2i-python3:0.4 support? |
There should be not restrictions on the version of the nvidia driver. |
Thank you, your comment was useful to know atleast this may not be issue |
* intial namespaced mode operator work * remove namespace from yamls * regenerate with hodometer changes * first draft to remove namespace seldon-mesh * remove namespace from resources * separate helm chart for servers * rerun notebooks * update docs * remove namespace added by controller gen
By default s2i wrapper uses tensorflow cpu, how to use tensorflow gpu?
The text was updated successfully, but these errors were encountered: