#112112th of 206 in ML frameworks and libraries

djl

Engine-agnostic Java framework for training and running deep learning models

Stars
4.9k
License
Apache-2.0
Last commit
Oct 2026
Last release
Oct 2026
Language
Java
Stars, last 29 weeks+92
22 Apr 2026: 4,768 stars29 Apr 2026: 4,772 stars6 May 2026: 4,775 stars13 May 2026: 4,784 stars20 May 2026: 4,786 stars27 May 2026: 4,788 stars3 Jun 2026: 4,794 stars10 Jun 2026: 4,799 stars17 Jun 2026: 4,800 stars24 Jun 2026: 4,805 stars1 Jul 2026: 4,809 stars8 Jul 2026: 4,810 stars15 Jul 2026: 4,812 stars22 Jul 2026: 4,814 stars29 Jul 2026: 4,815 stars5 Aug 2026: 4,817 stars12 Aug 2026: 4,822 stars19 Aug 2026: 4,823 stars26 Aug 2026: 4,827 stars2 Sept 2026: 4,836 stars9 Sept 2026: 4,838 stars16 Sept 2026: 4,844 stars23 Sept 2026: 4,844 stars30 Sept 2026: 4,849 stars7 Oct 2026: 4,850 stars14 Oct 2026: 4,853 stars21 Oct 2026: 4,854 stars28 Oct 2026: 4,854 stars4 Nov 2026: 4,858 stars11 Nov 2026: 4,860 stars

4,768 on 22 Apr 20264,860 on 11 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Deep Java Library (DJL) is a Java API for deep learning that covers both inference and training. It loads pre-trained models from a model zoo through a Criteria builder, and the underlying engine can be swapped without changing application code. The README says it picks CPU or GPU automatically based on the hardware.

Who it is for: Java developers adding deep learning inference or training to JVM apps

Strengths

  • Native Java API that works like any regular library in an IDE and build
  • Engine-agnostic: switch deep learning engines without rewriting application code
  • Model zoo with Criteria-based loading, plus built-in training and datasets such as MNIST
  • Automatic CPU/GPU selection based on detected hardware

Weaknesses

  • Java-centric, while most ML tooling and examples are in Python
  • README shows only classic deep learning examples, no LLM serving or agent features

What it needs

  • GPU optional
  • Docker
  • Needs Java, Gradle (build from source)

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in ML frameworks and libraries

See all 206
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168.9k stars+1,573 (+0.9%) in 30 daysApache-2.094 out of 100
2ultralyticsPython library and CLI for training and running YOLO vision models63.3k stars+1,004 (+1.6%) in 30 daysAGPL-3.094 out of 100
3pytorchPython tensor library with GPU support and tape-based autograd105.5k stars+1,036 (+1.0%) in 30 dayscustom license93 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts37.3k stars+107 (+0.3%) in 30 daysApache-2.093 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.6k stars+521 (+1.0%) in 30 daysMIT92 out of 100