Building from Source
How to build Deeplearning4j from source — prerequisites, Maven build, libnd4j compilation, and common build issues
Overview
Prerequisites
Required Tools
Tool
Minimum Version
Notes
Platform-Specific Setup
CPU Math Libraries
Cloning the Repository
Building libnd4j (Native Backend)
Common libnd4j Build Flags
Flag
Description
Building with CUDA
Prerequisites
Linux / macOS Build
Windows Build
Full Maven Build
Building Specific Modules
Using the Build Script
Running Tests
IDE Setup: IntelliJ IDEA
Using Local Build Artifacts
Common Build Issues
LIBND4J_HOME not set
LIBND4J_HOME not setCMake version too old
clang used instead of gcc on macOS
clang used instead of gcc on macOSOut-of-memory during Maven build
CUDA version mismatch
Windows: DLL not found at runtime
Support
Last updated
Was this helpful?