cuDNN
cuDNN integration — installation, configuration, and performance benefits
What Is cuDNN?
Supported Layers
Maven Dependency
<!-- CUDA ND4J backend (required) -->
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>nd4j-cuda-11.6-platform</artifactId>
<version>1.0.0-M2.1</version>
</dependency>
<!-- cuDNN helper module -->
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-cuda-11.6</artifactId>
<version>1.0.0-M2.1</version>
</dependency>Installing cuDNN
CUDA Version
Supported cuDNN Versions
Linux Installation
Windows Installation
Using the JavaCPP Presets (Alternative)
Verifying cuDNN Is Loaded
AlgoMode Configuration
PREFER_FASTEST (default)
NO_WORKSPACE
USER_SPECIFIED
Performance Impact
Layer Type
Expected Speedup (vs. plain CUDA)
Troubleshooting
Related Pages
Last updated
Was this helpful?