Maven Setup
Maven dependencies for Deeplearning4j — BOM, backend selection, platform classifiers, and version management
Overview
Using the DL4J BOM (Bill of Materials)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-bom</artifactId>
<version>1.0.0-M2.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement><dependencies>
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-core</artifactId>
</dependency>
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>nd4j-native-platform</artifactId>
</dependency>
</dependencies>Core Dependencies
deeplearning4j-core
ND4J Backend (CPU)
GPU Dependencies
ND4J CUDA Backend
cuDNN Acceleration
Complete pom.xml Example
Switching to GPU
Platform Classifiers
Classifier
Platform
DSP JIT Classifier (-compile)
-compile)Maven Setup for -compile
-compileAdditional Modules
Resolving Version Conflicts
Symptoms of version conflicts
Diagnosing conflicts
Forcing consistent versions with the BOM
Excluding conflicting transitive dependencies
Java Version Requirements
Related Pages
Last updated
Was this helpful?