如何直接从nvidia网站将cuDNN下载到我在GCP上的linux实例 [英] How to download the cuDNN straight from nvidia website to my linux instance on GCP

查看:136
本文介绍了如何直接从nvidia网站将cuDNN下载到我在GCP上的linux实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Google云平台上的linux机器上安装tensorflow-gpu.我没有使用深度学习vm gcp提供的内容.所以我在Linux实例上安装了anaconda,现在我想安装tensorflow.我已经安装了nvidia驱动程序和cuda.它们可以直接下载到云实例中.但是对于cuDNN,我必须将其下载到本地计算机,然后将其升级到云实例.有没有一种方法可以将该文件直接从nvidia网站下载到我的云实例?谢谢

I want to install tensorflow-gpu on my linux machine on google cloud platform. I am not using an deep learning vm gcp provide. So I installed anaconda on my linux instance and now i want to install tensorflow. I already installed nvidia drivers and cuda. They can be downloaded straight in to the cloud instances. But for cuDNN I have to download it into my local machine and then upoad it into the cloud instance. Is there a way to download that file directly from nvidia site to my cloud instance? Thank you

编辑

 CUDNN_URL="developer.download.nvidia.com/compute/redist/cudnn/v5.1/cudnn-8.0-linux-x64-v5.1.tgz" 
 wget -c ${CUDNN_URL} 

使用这些命令行,我们可以直接下载cudnnv5.1,我也看到了6.5版的链接.我通过放置所需的版本尝试了相同的链接,但没有成功.任何人都知道一种使用此CUDNN_URL直接通过wget或curl直接下载cudnn v7.1或更高版本但不登录Nvidia帐户的方法吗?

Using these lines of commands we can directly download cudnnv5.1 and I have seen the links for version 6.5 as well. I tried the same link by putting the version I want but it did not work. Anyone knows a way to use this CUDNN_URL to directly download cudnn v7.1 or higher directly using wget or curl but not logging into the an Nvidia account?

推荐答案

因为您需要拥有开发者帐户才能获得cuDNN,所以没有直接链接可以下载文件.

Because you need to have a developer account to get cuDNN there are no direct links to download files.

一种解决方法,您可以将cuDNN和其他软件下载到本地计算机,然后遵循文档

As a workaround you can download cuDNN and other software to your local machine and then follow documentation Transferring files to instances to copy files to your VM instance:

例如,如果您使用Windows,则建议您使用 WinSCP 将文件复制到您的VM.

For example, if you use Windows I'd recommend you to use WinSCP to copy files to your VM.

此外,请查看这篇文章

In addition, have a look at this article Deep Learning environment setup on Ubuntu(16.04) | CUDA, cuDNN, OpenCV(3.x), TensorFlow, Keras.

这篇关于如何直接从nvidia网站将cuDNN下载到我在GCP上的linux实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆