#7272nd of 75 in ML frameworks and libraries

deeplearning4j

JVM deep learning stack with ND4J tensors, SameDiff autodiff and DataVec ETL

Stars
14.3k
License
Apache-2.0
Last commit
Feb 2026
Language
Java
Stars, last 29 weeks+137
31 Mar 2026: 14,137 stars7 Apr 2026: 14,143 stars14 Apr 2026: 14,152 stars21 Apr 2026: 14,153 stars28 Apr 2026: 14,158 stars5 May 2026: 14,163 stars12 May 2026: 14,167 stars19 May 2026: 14,170 stars26 May 2026: 14,178 stars2 Jun 2026: 14,183 stars9 Jun 2026: 14,190 stars16 Jun 2026: 14,194 stars23 Jun 2026: 14,196 stars30 Jun 2026: 14,200 stars7 Jul 2026: 14,205 stars14 Jul 2026: 14,210 stars21 Jul 2026: 14,212 stars28 Jul 2026: 14,216 stars4 Aug 2026: 14,219 stars11 Aug 2026: 14,224 stars18 Aug 2026: 14,225 stars25 Aug 2026: 14,225 stars1 Sept 2026: 14,234 stars8 Sept 2026: 14,239 stars15 Sept 2026: 14,244 stars22 Sept 2026: 14,251 stars29 Sept 2026: 14,260 stars6 Oct 2026: 14,265 stars13 Oct 2026: 14,269 stars20 Oct 2026: 14,274 stars

14,137 on 31 Mar 202614,274 on 20 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Deeplearning4j is a set of JVM libraries for building and training neural networks in Java, Scala or Kotlin. It includes a high-level network API (DL4J), the ND4J array library backed by C++ LibND4J with CPU and CUDA support, the SameDiff autodiff framework, and DataVec for data loading. It imports Keras h5 models and TensorFlow frozen .pb graphs, and trains on Apache Spark.

Who it is for: JVM developers building or training neural networks in Java or Scala

Strengths

  • Runs natively on the JVM; usable from Java, Scala, Kotlin and Clojure
  • ND4J backends cover x86 AVX2/512, ARM, ppc64le and CUDA GPUs
  • Imports Keras h5 and TensorFlow frozen .pb models
  • Distributed training on Apache Spark; DataVec reads HDFS, CSV, image and audio data

Weaknesses

  • No release listed; README pins 1.0.0-M2.1, a milestone version
  • SameDiff import for ONNX, SavedModel and Keras is listed as planned
  • SameDiff is graph-mode only; eager execution is planned
  • Tests only run on JDK 11; README lists CUDA 10.x versions

What it needs

  • GPU optional
  • Needs Maven or other JVM build tool, JavaCPP, Apache Spark (optional)
  • Models: Keras h5, TensorFlow frozen .pb

Also in ML frameworks and libraries

See all 75
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks167.9k starsApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd for deep learning104.9k starscustom license94 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models62.7k starsAGPL-3.092 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts37.2k starsApache-2.091 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.3k starsMIT90 out of 100