cudnnenv
cudnnenv copied to clipboard
Need to follow redirects with curl
http://developer.download.nvidia.com
now redirects to https version. You need to either call curl with -L
flag or fetch from https directly. Currently cudnnenv fails because of an empty download:
/usr/local/bin/cudnnenv install v7.6.5-cuda101
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
sha256sum: WARNING: 1 computed checksum did NOT match
cudnn-10.1-linux-x64-v7.6.5.32.tgz: FAILED
Traceback (most recent call last):
File "/usr/local/bin/cudnnenv", line 10, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/cudnnenv/__init__.py", line 976, in main
args.func(args)
File "/usr/local/lib/python3.6/dist-packages/cudnnenv/__init__.py", line 860, in install
download_if_not_exist(args.version)
File "/usr/local/lib/python3.6/dist-packages/cudnnenv/__init__.py", line 811, in download_if_not_exist
download_cudnn(ver)
File "/usr/local/lib/python3.6/dist-packages/cudnnenv/__init__.py", line 805, in download_cudnn
subprocess.check_call(cmd, shell=True)
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '
curl -o cudnn-10.1-linux-x64-v7.6.5.32.tgz http://developer.download.nvidia.com/compute/redist/cudnn/v7.6.5/cudnn-10.1-linux-x64-v7.6.5.32.tgz &&
echo "7eaec8039a2c30ab0bc758d303588767693def6bf49b22485a2c00bf2e136cb3 cudnn-10.1-linux-x64-v7.6.5.32.tgz" | sha256sum -cw --quiet - &&
tar -xzf cudnn-10.1-linux-x64-v7.6.5.32.tgz -C /root/.cudnn/versions/v7.6.5-cuda101 &&
rm cudnn-10.1-linux-x64-v7.6.5.32.tgz
' returned non-zero exit status 1.