Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

examples(vision-doc-rag): document the GPU requirement

svonava1afc31d1b539
diff --git a/examples/README.md b/examples/README.md
index 9d3b4404d..980d6a7c8 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -19,7 +19,7 @@ service keys.
| [Build a multi-modal product classifier with embeddings](./taxonomy-classification) | Evaluating text, image, NLI, and reranking approaches for hierarchical product taxonomy classification | `extract`, `encode`, `score` | SIE endpoint, Shopify dataset prep via `uv run` scripts, standalone `uv` project | Runnable evaluation example |
| [Swap an OCR model with one identifier change](./document-ocr) | Driving recognition (VLM-OCR), structured extraction (Donut), and zero-shot NER (GLiNER) through the same `extract` call by swapping the model ID | `extract` | Docker Compose plus Node UI, no API key required, hosted version on [Hugging Face Spaces](https://huggingface.co/spaces/superlinked/document-ocr) | Runnable demo |
| [A Stripe Link checkout with an SIE fraud-risk gate](./stripe-link-fraud) | Wiring all three SIE primitives into a pre-authorization fraud-risk gate that runs in the same round-trip as the Stripe PaymentIntent | `extract`, `encode`, `score` | Docker Compose plus Node UI; Stripe test-mode keys optional (runs in mock mode without them) | Runnable demo |
-| [Vision-first document RAG](./vision-doc-rag) | Retrieving and answering questions over a multi-tenant page corpus by looking at page images, with OCR kept out of the score path | `encode`, `extract`, `score` (optional) | SIE endpoint with a GPU recommended for ColQwen2.5 + Florence-2-DocVQA | Runnable demo |
+| [Vision-first document RAG](./vision-doc-rag) | Retrieving and answering questions over a multi-tenant page corpus by looking at page images — including scanned drawings — with OCR kept out of the score path | `encode`, `chat/completions`, `score` (optional) | GPU SIE deployment required: ColQwen2.5 retriever + Qwen3.5-4B answer model (runs on the generation bundle) | Runnable demo |
For docs publishing, lead with the quickest runnable demos, then use the
benchmark and evaluation examples for deeper technical users.
diff --git a/examples/vision-doc-rag/README.md b/examples/vision-doc-rag/README.md
index 87280a52d..23b1c6eec 100644
--- a/examples/vision-doc-rag/README.md
+++ b/examples/vision-doc-rag/README.md
@@ -54,11 +54,15 @@ data/multivectors.npz # page multivectors from ingest.py
## Run it
-You need Python 3.12 and a reachable SIE cluster.
+You need Python 3.12 and a **GPU-backed SIE deployment**. The `Qwen/Qwen3.5-4B`
+answer model runs on SIE's generation bundle, which is CUDA-only, so the
+`latest-cpu-default` image can't serve it — use a local CUDA image or point
+`SIE_CLUSTER_URL` / `SIE_API_KEY` at a managed GPU cluster.
```bash
-# 1. SIE locally, or point SIE_CLUSTER_URL / SIE_API_KEY at a managed cluster.
-docker run -p 8080:8080 ghcr.io/superlinked/sie-server:latest-cpu-default
+# 1. SIE on a local NVIDIA GPU, or point SIE_CLUSTER_URL / SIE_API_KEY at a
+# managed GPU cluster.
+docker run --gpus all -p 8080:8080 ghcr.io/superlinked/sie-server:latest-cuda12-default
# 2. Fetch public PDFs and render selected pages to PNG.
cd examples/vision-doc-rag
diff --git a/examples/vision-doc-rag/config.yaml b/examples/vision-doc-rag/config.yaml
index 9a5cf62b1..62bf37888 100644
--- a/examples/vision-doc-rag/config.yaml
+++ b/examples/vision-doc-rag/config.yaml
@@ -1,5 +1,7 @@
-# SIE server (defaults to local Docker: docker run -p 8080:8080 ghcr.io/superlinked/sie-server:latest-cpu-default).
-# Override with SIE_CLUSTER_URL / SIE_API_KEY env vars when targeting a managed cluster.
+# SIE server. The Qwen3.5-4B answer model runs on SIE's generation bundle (GPU),
+# so use a CUDA image locally:
+# docker run --gpus all -p 8080:8080 ghcr.io/superlinked/sie-server:latest-cuda12-default
+# or override with SIE_CLUSTER_URL / SIE_API_KEY to target a managed GPU cluster.
cluster:
url: "http://localhost:8080"
api_key: ""