Scrapalot AI on GX10
Last Updated: November 2026
The hosted Scrapalot runs on a server at Hetzner, while the models behind Scrapalot AI (chat, agents, image description, OCR, quick decisions and reranking) run on two ASUS Ascent GX10 machines (NVIDIA GB10, 128 GB unified memory each). The server reaches them through an encrypted Tailscale tunnel. Every role keeps a fallback, in the cloud or on the server's own CPU, so users get an answer even when a machine is busy or switched off.
For setting up a GB10 machine yourself, see NVIDIA GB10 (DGX Spark).
How the machines connect
The production server sees only the first machine. Requests for the second one go through a small proxy on the first machine and over a direct ConnectX-7 cable. The first machine holds only the main model; the second holds every other Scrapalot AI model.
Scrapalot checks every 15 seconds which models each machine serves. A model that is not loaded, or a machine that does not answer, sends that role to its fallback, and image roles always fall back to another image model, never to a text model.
Every model Scrapalot uses
Scrapalot AI on the GX10 machines
| Role | Model | Runs on | Fallback | Status |
|---|---|---|---|---|
| Main model chat, agents, answer synthesis, knowledge graph, summaries, translation | Qwen3.8 Flash Next 120B (UD-Q4_K_XL) | GX10 #1 | DeepSeek (cloud) | running |
| Images describing pictures, diagrams and photos in books | Qwen3.8-27B (Q8) | GX10 #2 | NVIDIA NIM, Llama 3.2 90B Vision | running; more precise than the main model on pages with text, and it leaves the main model free for chat |
| OCR transcribing scanned pages | PaddleOCR-VL 1.6 (0.9B) | GX10 #2 | OpenRouter fugu-ultra, paid per page | running; OvisOCR3 was tried on our own scanned pages and was not better |
| Decisions quick routing questions such as "is this a greeting?" | TypeSafe Jev 1.13 (cloud), local fallback H2O-Lightning-4B | cloud and GX10 #2 | the main model, a slower path | running; Karpo-Decision-31B decides better but needs about 10 s per message against a 2 s limit |
| Reranker orders the retrieved passages before the answer | bge-reranker-v2-m3 (Q8) | GX10 #2 | mxbai-rerank-xsmall-v1 on the server CPU | running; reads Croatian and English alike |
| Dataset Q&A pairs from books for training | Qwen3.8, two workers | GX10 #1 | none | stopping them gives the main model fully to users |
Inside Scrapalot (server CPU)
| Role | Model | Status |
|---|---|---|
| Embeddings search vectors, 384 dimensions | all-MiniLM-L6-v2 | stays. A multilingual model would mean re-embedding the whole library into a new vector column and index, which needs more disk than the server has free |
| Reranker fallback | mxbai-rerank-xsmall-v1 | answers whenever the second machine does not |
| Page layout Docling: text blocks and tables in PDFs | Docling Heron and its table model | last resort for scanned PDFs, so it rarely runs: clean PDFs go through PyMuPDF4LLM, scanned ones first to the OCR model and then to RapidOCR |
| OCR on the CPU | RapidOCR | fallback for scanned PDFs when the OCR model does not answer |
| Named entities helps build the knowledge graph | spaCy en_core_web_md | stays, it is small |
Cloud services
| Role | Service | Plan |
|---|---|---|
| Speech to text voice chat, video and audio files | OpenAI whisper-1 | a local model (canary-1b-v2) on GX10 #2, once the code has a fallback to OpenAI |
| Read aloud | Microsoft Edge TTS, Croatian voices | stays until a local voice matches it |
| Image generation on request, with the user's own key | OpenAI gpt-image-1 | stays; Scrapalot has no local image adapter yet |
The reranker on the second machine
Scrapalot's reranker has three modes, chosen in Settings → Providers → System keys: the local CPU cross-encoder, the Jina or Cohere API, and Own server (see Models). The hosted Scrapalot uses Own server: a llama.cpp reranker started with --reranking on GX10 #2, reached through the proxy on GX10 #1.
- The address comes from
RERANKER_API_URLand the request uses the Jina/rerankformat, which llama.cpp, vLLM and similar servers answer. - Such servers may return the model's raw scores (logits), which go negative. Scrapalot maps them onto 0–1, because it weights scores by document priority and keeps a collection's best passage only above a fraction of the top score.
- The connection waits at most 2 seconds. A failed request is reranked on the local CPU at once, and the server is skipped for a minute (
RERANKER_API_RETRY_AFTER_SECONDS), so a machine that is switched off costs one short wait a minute instead of one per search.
Measured from production: 0.4 s for a search. With the machine unreachable, the first search took 3 s and the next ones 0.1 s on the CPU.
Why the helper models run on the second machine
Each GX10 has 128 GB of memory shared by CPU and GPU, about 122 GiB of it visible to the system. Qwen3.8 with three parallel requests takes almost all of it. On the first machine the dataset workers pause whenever free memory drops below 15 GiB, so not even the small OCR model fits there.
Approximate figures, measured in November 2026. The dashed line on the first machine is the 15 GiB free-memory limit below which the dataset workers wait.
What moved and what stays
Every step kept a fallback, so each one could be undone without interrupting users.
- Done: main model, OCR and decisions on the GX10 machines. Checked with real requests from production; the cloud fallbacks stayed as they were.
- Done: one machine per job. The first machine holds only Qwen3.8 and the dataset; the second holds the helper models.
- Done: images on Qwen3.8-27B on the second machine. The main model no longer spends its parallel slots on pictures.
- Done: reranker on the second machine. Multilingual, 0.4 s per search, with the CPU reranker as the fallback.
- Stays on the server: embeddings, page layout, CPU OCR and named entities. Embeddings would need a full re-embedding and more disk; Docling rarely runs at all.
- Open: speech to text on the second machine (needs a fallback to OpenAI in code first) and a faster local decision model (smaller requests or a smaller Karpo model).