Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to follow redirects with curl #88

Open
lastsecondsave opened this issue Sep 1, 2021 · 0 comments
Open

Need to follow redirects with curl #88

lastsecondsave opened this issue Sep 1, 2021 · 0 comments

Comments

@lastsecondsave
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant