# upgrading CuDNN

**URL:** <https://forums.developer.nvidia.com/t/upgrading-cudnn/77901>\
**Category:** cuDNN\
**Created:** [July 11, 2019, 4:02pm UTC](https://forums.developer.nvidia.com/t/upgrading-cudnn/77901 "2019-07-11T16:02:17Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![arafatsharif2](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arafatsharif2](https://forums.developer.nvidia.com/u/arafatsharif2)\
**Post date:** [July 11, 2019, 4:02pm UTC](https://forums.developer.nvidia.com/t/upgrading-cudnn/77901/1 "2019-07-11T16:02:17Z")

</div>

I am working on Jetson TX2 jetpack 3.3 cuda 9.0 CuDNN 7.0.5

I am training a model in tensorflow 1.9 but the training exits because:

Loaded runtime CuDNN library: 7.0.5 but source was compiled with: 7.1.5. CuDNN library major and minor version needs to match or have higher minor version in case of CuDNN 7.0 or later version. If using a binary install, upgrade your CuDNN library. If building from sources, make sure the library loaded at runtime is compatible with the version specified during compile configuration.  
Segmentation fault (core dumped)

so i tried to install CuDNN 7.3.0 for Cuda 9.0 by:

Download CuDNN library from NVIDIA website  
sudo tar -xzvf [TAR\_FILE]  
sudo cp cuda/include/cudnn.h /usr/local/cuda/include  
sudo cp cuda/lib64/libcudnn\* /usr/local/cuda/lib64  
sudo chmod a+r /usr/local/cuda/include/cudnn.h /usr/local/cuda/lib64/libcudnn\*

in the terminal its giving me:

#define CUDNN\_MAJOR 7  
#define CUDNN\_MINOR 3  
#define CUDNN\_PATCHLEVEL 0

but the error from tensorflow did not go

What did I do wrong can you guide me please?

edit:the CuDNN 7.3.0 that i installed is not for arm processors that was my fault but do you know where to get CuDNN for arm?

---

<div class="post-metadata">

**Author:** ![remi.coulom](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@remi.coulom](https://forums.developer.nvidia.com/u/remi.coulom)\
**Post date:** [July 12, 2019, 11:22am UTC](https://forums.developer.nvidia.com/t/upgrading-cudnn/77901/2 "2019-07-12T11:22:39Z")

</div>

Why did you install 7.0.3? The error message says you should install 7.1.5.

---

<div class="post-metadata">

**Author:** ![arafatsharif2](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arafatsharif2](https://forums.developer.nvidia.com/u/arafatsharif2)\
**Post date:** [July 12, 2019, 11:51am UTC](https://forums.developer.nvidia.com/t/upgrading-cudnn/77901/3 "2019-07-12T11:51:34Z")

</div>

sorry I meant 7.3.0

---

<div class="post-metadata">

**Author:** ![remi.coulom](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@remi.coulom](https://forums.developer.nvidia.com/u/remi.coulom)\
**Post date:** [July 12, 2019, 1:44pm UTC](https://forums.developer.nvidia.com/t/upgrading-cudnn/77901/4 "2019-07-12T13:44:52Z")

</div>

My advice would be: 1. make sure /usr/loca/cuda is pointing to the right version of cuda in case you have more than one installed. 2. try to install cuDNN 7.1.5.

Also, what was the new error from tensorflow? Did it still complain about 7.0.5? Maybe it finds cuDNN in another place on the system.

---

<div class="post-metadata">

**Author:** ![arafatsharif2](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arafatsharif2](https://forums.developer.nvidia.com/u/arafatsharif2)\
**Post date:** [July 12, 2019, 2:45pm UTC](https://forums.developer.nvidia.com/t/upgrading-cudnn/77901/5 "2019-07-12T14:45:56Z")

</div>

thanks for your replay  
1-cuda is pointing at the right version ,i only have one.  
2-in the CuDNN archive ([cuDNN Archive | NVIDIA Developer](https://developer.nvidia.com/rdp/cudnn-archive)) there is no v 7.1.5 and the error says it accepts later versions.  
3-its the same error it reads the old version 7.0.5

keep in mind i am on jetson

edit:  
i found a libcudnn.so.7.0.5 in /usr/lib/aarch64-linux-gnu

---

<div class="post-metadata">

**Author:** ![arafatsharif2](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arafatsharif2](https://forums.developer.nvidia.com/u/arafatsharif2)\
**Post date:** [July 12, 2019, 4:04pm UTC](https://forums.developer.nvidia.com/t/upgrading-cudnn/77901/6 "2019-07-12T16:04:12Z")

</div>

edit:the CuDNN 7.3.0 that i installed is not for arm processors that was my fault but do you know where to get CuDNN for arm?

---

<div class="post-metadata">

**Author:** ![arafatsharif2](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arafatsharif2](https://forums.developer.nvidia.com/u/arafatsharif2)\
**Post date:** [July 26, 2019, 1:36pm UTC](https://forums.developer.nvidia.com/t/upgrading-cudnn/77901/7 "2019-07-26T13:36:48Z")

</div>

update: CuDNN arm for jetson is only installable through jetpack  
for me i wanted 7.1.5 which comes with jetpack 3.3 so i flashed the jetson and all good now

---

<div class="post-metadata">

**Author:** ![elonkou](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@elonkou](https://forums.developer.nvidia.com/u/elonkou)\
**Post date:** [August 30, 2019, 10:46am UTC](https://forums.developer.nvidia.com/t/upgrading-cudnn/77901/8 "2019-08-30T10:46:30Z")

</div>

I have the same problem, I can’t find the v7.1.5 cudnn for arm architectures, did you solved it?

---

<div class="post-metadata">

**Author:** ![arafatsharif2](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@arafatsharif2](https://forums.developer.nvidia.com/u/arafatsharif2)\
**Post date:** [September 2, 2019, 8:15am UTC](https://forums.developer.nvidia.com/t/upgrading-cudnn/77901/9 "2019-09-02T08:15:29Z")

</div>

Yes CUDNN v 7.1.5 is in jetpack 3.3 installation package, for me I flashed the jetson and worked.

---

<div class="post-metadata">

**Author:** ![sonny.osunkwo](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@sonny.osunkwo](https://forums.developer.nvidia.com/u/sonny.osunkwo)\
**Post date:** [June 7, 2020, 9:35pm UTC](https://forums.developer.nvidia.com/t/upgrading-cudnn/77901/10 "2020-06-07T21:35:19Z")

</div>

Thank you @remi.coulom. I had two versions of CUDA installed. 10.0 and 10.2. I removed 10.0 away from 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA ’ directory and it worked for me.

---

<div class="post-metadata">

**Author:** ![akahamed3261](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/akahamed3261/32/24034_2.png) [@akahamed3261](https://forums.developer.nvidia.com/u/akahamed3261)\
**Post date:** [July 9, 2020, 12:36pm UTC](https://forums.developer.nvidia.com/t/upgrading-cudnn/77901/11 "2020-07-09T12:36:26Z")

</div>

system config:  
os : ubuntu 18.04  
GPU: 1060Ti 6gb  
CUDA is 10.0,  
CUDNN is 7.5  
Tensorflow 1.15.2

Loaded runtime CuDNN library: 7.5.0 but source was compiled with: 7.6.0. CuDNN library major and minor version needs to match or have higher minor version in case of CuDNN 7.0 or later version. If using a binary install, upgrade your CuDNN library. If building from sources, make sure the library loaded at runtime is compatible with the version specified during compile configuration

Greatfull comments welcome,  
Thanks.

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 7:47pm UTC](https://forums.developer.nvidia.com/t/upgrading-cudnn/77901/12 "2021-10-12T19:47:37Z")

</div>


