docling-project/docling-serve
Acerca de
Ejecuta Docling como un servicio de API
Otros proyectosCrecimiento de estrellas medido
- in 24h
- +1
- in 7 days
- +6
- in 15 days
- +20
- in 1 month
- +53
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalDocling Serve
Running Docling as an API service.
- Learning how to configure the webserver
- Get to know all runtime options of the API
- Explore useful deployment examples
- And more
[!NOTE] Migration to the
v1API. Docling Serve now has a stable v1 API. Read more on the migration to v1.
Getting started
Install the docling-serve package and run the server.
# Using the python package
pip install docling-serve
docling-serve run --enable-ui
# Using container images, e.g. with Podman
podman run -p 5001:5001 -e DOCLING_SERVE_ENABLE_UI=1 quay.io/docling-project/docling-serve
The server is available at
- API http://127.0.0.1:5001
- API documentation http://127.0.0.1:5001/docs
- UI playground http://127.0.0.1:5001/ui

Try it out with a simple conversion:
curl -X 'POST' \
'http://localhost:5001/v1/convert/source' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"sources": [{"kind": "http", "url": "https://arxiv.org/pdf/2501.17887"}]
}'
Container Images
The following container images are available for running Docling Serve with different hardware and PyTorch configurations:
📦 Distributed Images
| Image | Description | Architectures | Size |
|---|---|---|---|
ghcr.io/docling-project/docling-serve quay.io/docling-project/docling-serve |
Base image with all packages installed from the official PyPI index. | linux/amd64, linux/arm64 |
4.4 GB (arm64) 8.7 GB (amd64) |
ghcr.io/docling-project/docling-serve-cpu quay.io/docling-project/docling-serve-cpu |
CPU-only variant, using torch from the PyTorch CPU index. |
linux/amd64, linux/arm64 |
4.4 GB |
ghcr.io/docling-project/docling-serve-cu13 quay.io/docling-project/docling-serve-cu13 |
CUDA 13.x image. Floating name that always points to the CUDA 13 build we currently ship (today: CUDA 13.2). Runs on any NVIDIA driver >=580. |
linux/amd64, linux/arm64 |
TBD |
ghcr.io/docling-project/docling-serve-cu132 quay.io/docling-project/docling-serve-cu132 |
CUDA 13.2 build with torch from the PyTorch cu132 index. Same image as docling-serve-cu13, pinned to the exact CUDA version. |
linux/amd64, linux/arm64 |
TBD |
We publish only the CUDA version that PyTorch marks as stable for its current release. All CUDA 13.x versions run on the same drivers (>=580, via CUDA minor version compatibility), so moving to a newer 13.x minor version requires no driver change.
[!IMPORTANT] CUDA Image Tagging Policy
CUDA images follow PyTorch's CUDA support lifecycle and are tagged differently from base images:
- Base images (
docling-serve,docling-serve-cpu): tagged withlatest,mainand release versions.- CUDA images (
docling-serve-cu13,docling-serve-cu132): tagged only with release versions (e.g.v1.42.0) andmain. There is nolatesttag.Which name should I use?
docling-serve-cu13: follows the stable CUDA 13.x minor version across docling-serve releases. Recommended for most users.docling-serve-cu132: pins the exact CUDA minor version. Once PyTorch moves to a newer CUDA, this name stops receiving new releases and a new-cuXYZname takes its place.Why no
latest? When a CUDA line is retired (for example, when CUDA 14 replaces CUDA 13), its images stop receiving updates. Without alatesttag, a deployment cannot keep pulling a retired image without noticing. Always use an explicit version tag:# ✅ Recommended: explicit version docker pull quay.io/docling-project/docling-serve-cu13:v1.42.0 # ❌ Not available for CUDA images docker pull quay.io/docling-project/docling-serve-cu13:latestRetired CUDA images:
docling-serve-cu124,-cu126,-cu128and-cu130are no longer built. Their existing version tags remain available, but they will not receive new releases.
🚫 Not Distributed
An image for AMD ROCm 6.3 (docling-serve-rocm) and ROCm 10.1 (docling-serve-rocm101-gfx1151) are supported but not published due to their large size (around 10 GB for ROCm 10.1).
To build them locally:
git clone --branch main https://github.com/docling-project/docling-serve.git
cd docling-serve/
# Build for ROCm 6.3
make docling-serve-rocm-image
# Build for ROCm 10.1 (AMD Strix Halo gfx1151)
make docling-serve-rocm101-gfx1151-image
For deployment using Docker Compose, see docs/deployment.md.
Coming soon: docling-serve-slim images will reduce the size by skipping the model weights download.
Demonstration UI
An easy to use UI is available at the /ui endpoint.


Get help and support
Please feel free to connect with us using the discussion section.
Contributing
Please read Contributing to Docling Serve for details.
References
If you use Docling in your projects, please consider citing the following:
@techreport{Docling,
author = {Docling Contributors},
month = {1},
title = {Docling: An Efficient Open-Source Toolkit for AI-driven Document Conversion},
url = {https://arxiv.org/abs/2501.17887},
eprint = {2501.17887},
doi = {10.48550/arXiv.2501.17887},
version = {2.0.0},
year = {2025}
}
License
The Docling Serve codebase is under MIT license.
IBM ❤️ Open Source AI
Docling has been brought to you by IBM.
Explorar proyectos relacionados
Cargando…