unlimited-ocr
by apecloud
Baidu Unlimited-OCR served through its official OpenAI-compatible vLLM recipe.
About this chart
Unlimited-OCR
This chart packages baidu/Unlimited-OCR with the official vLLM serving contract. It is an optional parser service and is not installed by the main ApeMind chart.
Required Runtime
- vLLM
>=0.25.0; default imagevllm/vllm-openai:unlimited-ocr - one whole NVIDIA GPU with BF16 and at least 8 GiB VRAM; use 16/24 GiB or more for production
- NVIDIA driver compatible with the selected image CUDA runtime
- pre-populated Hugging Face cache PVC for offline deployments
The chart pins --trust-remote-code, the Unlimited-OCR logits processor, disabled prefix caching, and zero multimodal processor cache. Do not remove these arguments without retesting the official recipe.
Render
helm template unlimited-ocr ./deploy/unlimited-ocr \
--set image.repository=vllm/vllm-openai
The parser currently sends one page per request. This bounds VRAM and preserves deterministic page ordering; multi-page batching is deferred until measured on the target GPU.
Acceptance
- Confirm the pod owns exactly one physical GPU and is not sharing it with MinerU.
- Confirm
GET /v1/modelsreturnsbaidu/Unlimited-OCR. - Submit the official request shape with a prompt starting with
<image>,skip_special_tokens=false, andvllm_xargs={"ngram_size":35,"window_size":128}. - Enable the Admin parser only after PDF and image documents complete end to end.
Rollback by disabling the Admin integration first, then helm rollback or uninstalling this independent release. The cache PVC is retained.
Deploy unlimited-ocr with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has unlimited-ocr on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartunlimited-ocr is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply