Reputation: 2011
For some reason, I want to use some previous version of tensorflow('tensorflow-**-.whl', not source code on github) and where can I download the previous version and how can I know the corresponding cuda version
that is compatible.
Upvotes: 25
Views: 102912
Reputation: 11
in order to find out available previous versions all you need to do is either use :
pip search tensorflow-gpu
orpip search tensorflow
conda search tensorflow-gpu
orconda search tensorflow
and to install them even:
pip install tensorflow-gpu==1.15.0
orpip install tensorflow==1.15.0
conda install tensorflow-gpu==1.15.0
orconda install tensorflow==1.15.0
my experience conda search is much much cleaner and easier to find packages.
Upvotes: 1
Reputation: 159
To download an older version of TensorFlow make sure you are using an older version of python as well. Otherwise, you will run into an issue like no version satisfying requirement found
.
pip install tensorflow==1.4
or so.Upvotes: 3
Reputation: 116
You can do as suggested beforehand and search for available version in tesorflow site but you can't access versions older than available there.
So if you want an earlier version:
Upvotes: 3
Reputation: 11957
Upvotes: 0
Reputation: 2827
The above answer does not work any more.
You can install like this:
curl -s https://storage.googleapis.com/tensorflow |xmllint --format - |grep whl
<Key>linux/gpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl</Key>
<Key>linux/gpu/tensorflow-0.9.0-cp27-none-linux_x86_64.whl</Key>
<Key>linux/gpu/tensorflow-0.11.0-cp27-none-linux_x86_64.whl</Key>
<Key>linux/gpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl</Key>
Then pick the model you want.
Then you can run this kind of command :
# Mac OS X, CPU only, Python 2.7:
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.11.0-py2-none-any.whl
Then install Tensorflow:
# Python 2
$ sudo pip install --upgrade $TF_BINARY_URL
# Python 3
$ sudo pip3 install --upgrade $TF_BINARY_URL
Source: https://www.tensorflow.org/versions/r0.11/get_started/os_setup#download-and-setup
Upvotes: 6
Reputation: 54989
Find available versions (some example results shown):
$ curl -s https://storage.googleapis.com/tensorflow |xmllint --format - |grep whl
<Key>linux/gpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl</Key>
<Key>linux/gpu/tensorflow-0.9.0-cp27-none-linux_x86_64.whl</Key>
<Key>linux/gpu/tensorflow-0.11.0-cp27-none-linux_x86_64.whl</Key>
<Key>linux/gpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl</Key>
You can, of course, filter the results further by piping through additional instances of grep
.
Pick the version you want and install for Python with pip
...
$ TFVERSION=linux/gpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl
$ pip install https://storage.googleapis.com/tensorflow/$(TFVERSION)
Note: cp27
in the list above indicates compatibility with Python version 2.7.
Upvotes: 13
Reputation: 3195
You can always download the previous version of tensorflow version
from here
Here on the top left you can change the version
Upvotes: -3