查找可用版本(显示一些示例结果):
$ 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>
当然,您可以通过遍历grep
其他实例进一步过滤结果。
选择您想要的版本并使用pip
为Python安装...
$ TFVERSION=linux/gpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl
$ pip install https://storage.googleapis.com/tensorflow/$(TFVERSION)
注意:上面列表中的cp27
表示与Python 2.7版兼容。
0
出于某种原因,我想使用tensorflow的某些先前版本('tensorflow-**-。whl',而不是github上的源代码),我在哪里可以下载该先前版本以及如何知道对应的兼容
cuda version
。