# What are the highest versions of CUDA and cuDNN currently supported by DL4J?

**URL:** <https://community.konduit.ai/t/what-are-the-highest-versions-of-cuda-and-cudnn-currently-supported-by-dl4j/3153>\
**Category:** DL4J\
**Created:** [May 21, 2024, 8:26am UTC](https://community.konduit.ai/t/what-are-the-highest-versions-of-cuda-and-cudnn-currently-supported-by-dl4j/3153 "2024-05-21T08:26:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cqiaoYc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/cqiaoyc/32/738_2.png) [@cqiaoYc](https://community.konduit.ai/u/cqiaoYc)\
**Post date:** [May 21, 2024, 8:26am UTC](https://community.konduit.ai/t/what-are-the-highest-versions-of-cuda-and-cudnn-currently-supported-by-dl4j/3153/1 "2024-05-21T08:26:50Z")

</div>

Does it support CUDA versions above 11.6, specifically 12.x?

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [May 27, 2024, 12:47pm UTC](https://community.konduit.ai/t/what-are-the-highest-versions-of-cuda-and-cudnn-currently-supported-by-dl4j/3153/2 "2024-05-27T12:47:51Z")

</div>

@cqiaoYc the next release will support 12. I"m currently in the middle of a rewrite so it might take a bit. I can show you the relevant bits if you want to build from source.

---

<div class="post-metadata">

**Author:** ![cqiaoYc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/cqiaoyc/32/738_2.png) [@cqiaoYc](https://community.konduit.ai/u/cqiaoYc)\
**Post date:** [May 29, 2024, 1:00am UTC](https://community.konduit.ai/t/what-are-the-highest-versions-of-cuda-and-cudnn-currently-supported-by-dl4j/3153/3 "2024-05-29T01:00:35Z")

</div>

Thank you! I’m currently using CUDNN 11.8 on Ubuntu 2024.04, and it’s running smoothly.

---

<div class="post-metadata">

**Author:** ![sradford](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/sradford/32/1304_2.png) [@sradford](https://community.konduit.ai/u/sradford)\
**Post date:** [July 22, 2024, 8:12am UTC](https://community.konduit.ai/t/what-are-the-highest-versions-of-cuda-and-cudnn-currently-supported-by-dl4j/3153/4 "2024-07-22T08:12:43Z")

</div>

I was looking to play with DL4J / ND4J using CUDA, but I have version 12…

$ nvcc --version  
nvcc: NVIDIA (R) Cuda compiler driver  
Copyright (c) 2005-2023 NVIDIA Corporation  
Built on Fri\_Jan\_\_6\_16:45:21\_PST\_2023  
Cuda compilation tools, release 12.0, V12.0.140  
Build cuda\_12.0.r12.0/compiler.32267302\_0

@agibsonccc I’m not sure I’d be in a position to help move this ticket along, but maybe in the least provide another environment to test.

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [July 27, 2024, 9:13am UTC](https://community.konduit.ai/t/what-are-the-highest-versions-of-cuda-and-cudnn-currently-supported-by-dl4j/3153/5 "2024-07-27T09:13:08Z")

</div>

I’ve had it building with cuda 12.x on my development branch for a while. I’d be happy to help you build from source or support a standalone pull request if you’d like to try it.

---

<div class="post-metadata">

**Author:** ![sradford](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/sradford/32/1304_2.png) [@sradford](https://community.konduit.ai/u/sradford)\
**Post date:** [August 1, 2024, 10:06am UTC](https://community.konduit.ai/t/what-are-the-highest-versions-of-cuda-and-cudnn-currently-supported-by-dl4j/3153/6 "2024-08-01T10:06:15Z")

</div>

Hi @agibsonccc, Yes that would be great. Just let me know which way works best for you.

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [August 5, 2024, 4:17am UTC](https://community.konduit.ai/t/what-are-the-highest-versions-of-cuda-and-cudnn-currently-supported-by-dl4j/3153/7 "2024-08-05T04:17:58Z")

</div>

@sradford I’ve recently put up a series of PRs split off from my main development branch that will allow cuda 12.1 and 12.3. Let me get that merged to master in the next day or 2 then I’ll help you with instructions.

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [August 12, 2024, 11:17am UTC](https://community.konduit.ai/t/what-are-the-highest-versions-of-cuda-and-cudnn-currently-supported-by-dl4j/3153/8 "2024-08-12T11:17:28Z")

</div>

@sradford here’s a branch you can try. I’ll be merging this with @treo gets back to me.
