Skip to content

Instantly share code, notes, and snippets.

@asears
Created January 24, 2020 02:12
Show Gist options
  • Select an option

  • Save asears/95614606108ef0f0de491f9ae8ac98b1 to your computer and use it in GitHub Desktop.

Select an option

Save asears/95614606108ef0f0de491f9ae8ac98b1 to your computer and use it in GitHub Desktop.
Get the cuDNN files
Display the source blob
Display the rendered blob
Raw
# Extracts the cuDNN files from Drive folder directly to the VM CUDA folders
# wget https://developer.nvidia.com/compute/machine-learning/cudnn/secure/7.6.4.38/Production/10.1_20190923/cudnn-10.1-linux-x64-v7.6.4.38.tgz
!tar -xzvf gdrive/My\ Drive/darknet/cuDNN/cudnn-10.0-linux-x64-v7.5.0.56.tgz -C /usr/local/
!chmod a+r /usr/local/cuda/include/cudnn.h
# Now we check the version we already installed. Can comment this line on future runs
!cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment