I'm working on a shared machine with GPUs. It used to have only one version of tensorflow working tensorflow-gpu==0.12.0rc1
but recently it also has the most recent non-gpu version as well
tensorflow==1.0.1
tensorflow-gpu==0.12.0rc1
My code does not use the GPU devices anymore. I tried importing the old version only import tensorflow-gpu as tf
or requiring tensorflow-gpu
to be the old version:
import pkg_resources
pkg_resources.require("tensorflow-gpu==0.12.0rc1")
import tensorflow as tf
but it goes back to only using the CPU devices.
Is there any way to "hide" the newest tensorflow version from my python script or force it to use the gpu version in any way?
I do not have sudo privileges and it is time consuming to go through admin channels.