☰ Menu
Home›Command-line Tools›djl-serving
CLI Open source

djl-serving for Mac

djl-serving

DJL Serving is a high performance universal stand-alone model serving solution powered by DJL. It takes a deep learning model, several models, or workflows and makes them available through an HTTP endpoint.

djl-serving — overview

DJL Serving

Overview

DJL Serving is a high performance universal stand-alone model serving solution powered by DJL. It takes a deep learning model, several models, or workflows and makes them available through an HTTP endpoint. It can serve the following model types out of the box: PyTorch TorchScript model TensorFlow SavedModel bundle ONNX model (CPU) Python script model

You can install extra extensions to enable the following models: XGBoost model LightGBM model Sentencepiece model fastText/BlazingText model

Key features Performance - DJL serving running multithreading inference in a single JVM. Our benchmark shows DJL serving has higher throughput than most C++ model servers on the market Ease of use - DJL serving can serve most models out of the box Easy to extend - DJL serving plugins make it easy to add custom extensions Auto-scale - DJL serving automatically scales up/down worker threads based on the load Dynamic batching - DJL serving supports dynamic batching to increase throughput Model versioning - DJL allows users to load different versions of a model on a single endpoint Multi-engine support - DJL allows users to serve models from different engines at the same time

Installation

For macOS

For Ubuntu

For Windows

We are considering to create a chocolatey package for Windows. For the time being, you can download djl-serving zip file from here.

Docker

You can also use docker to run DJL Serving:

Usage

DJL Serving can be started from the command line. To see examples, see the starting page.

More examples Serving a Python model Serving with docker

More command line options

See configuration for more details about defining models, model-store, and workflows.

REST API

DJL Serving uses a RESTful API for both inference and management calls.

When DJL Serving starts up, it has two web services:

Inference API - Used by clients to query the server and run models Management API - Used to add, remove, and scale models on the server

By default, DJL Serving listens on port 8080 and is only accessible from localhost. Please see DJL Serving Configuration for how to enable access from a remote host.

Architecture

Details about how DJL Serving is implemented can be found in the architecture docs.

Plugin management

DJL Serving supports plugins, user can implement their own plugins to enrich DJL Serving features. See DJL Plugin Management for how to install plugins to DJL Serving.

Logging you can set the logging level on the command-line adding a parameter for the JVM

Details

该模块包含一个通用的模型服务实现

How to install djl-serving

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2026-03-12; current version v0.36.0, with the latest 10 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
v0.36.02026-03-12Stable————
v0.29.02024-08-16Stable————
v0.28.02024-06-19Stable————
v0.27.02024-04-15Stable————
v0.26.02024-02-27Stable————
v0.25.02023-12-20Stable————
v0.24.02023-10-17Stable————
v0.23.02023-07-18Stable————
v0.22.12023-04-25Stable————
v0.23.0-alpha2023-06-14Pre-release————

Data from GitHub Releases; stable releases first, each group sorted newest first.

Prebuilt bottle platforms

Official Homebrew bottles cover:

  • all

⚠️ No prebuilt bottle for Intel Macs; Intel users need brew install --build-from-source to build from source.

Compared with similar apps

Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
djl-servingv0.36.0Apache-2.0CLI0
ctags-lspv0.11.0MITCLI1
iguana1.2.0Apache-2.0CLI4
libdom0.4.2MITCLI1

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…