djl-serving for Mac
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
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2026-03-12; current version v0.36.0, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| v0.36.0 | 2026-03-12 | Stable | — | — | — | — |
| v0.29.0 | 2024-08-16 | Stable | — | — | — | — |
| v0.28.0 | 2024-06-19 | Stable | — | — | — | — |
| v0.27.0 | 2024-04-15 | Stable | — | — | — | — |
| v0.26.0 | 2024-02-27 | Stable | — | — | — | — |
| v0.25.0 | 2023-12-20 | Stable | — | — | — | — |
| v0.24.0 | 2023-10-17 | Stable | — | — | — | — |
| v0.23.0 | 2023-07-18 | Stable | — | — | — | — |
| v0.22.1 | 2023-04-25 | Stable | — | — | — | — |
| v0.23.0-alpha | 2023-06-14 | Pre-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.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| djl-serving | v0.36.0 | Apache-2.0 | CLI | 0 |
| ctags-lsp | v0.11.0 | MIT | CLI | 1 |
| iguana | 1.2.0 | Apache-2.0 | CLI | 4 |
| libdom | 0.4.2 | MIT | CLI | 1 |
Similar apps: Command-line Tools
ctags-lsp
Note: This is documentation for the development version! The docs for the last release version…iguana
A Universal Serialization Engine Based on compile-time Reflection #libdom
libdom is an implementation of the W3C DOM specification, provided as a command-line tool.libucl
UCL - Universal Configuration Languageopenssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratioCategories: Command-line Tools