How to downgrade tensorflow version in colab?

前端 未结 4 797
感动是毒
感动是毒 2020-12-08 22:18

I am using pip3 install tensorflow==1.8.0, but it doesn\'t have GPU support.

So I am using pip3 install tensorflow-gpu==1.8.0, but it still

4条回答
  •  情歌与酒
    2020-12-08 23:08

    The build process for GPU-enabled tensorflow is involved. In particular, old versions of TensorFlow use (or require) older versions of CUDA, which itself depends on system libraries and configuration beyond the scope of a pip install.

    I suspect that downgrading TensorFlow on a VM configured for a newer version is going to be an involved process, perhaps involving downgrades / reinstalls of system libraries.

    If it's practical, it might be simpler to update your code to use the latest version of TensorFlow, at least until Colab supports persistent backend enivronments.

提交回复
热议问题