Command Palette

Search for a command to run...

Назад к скиллам
скилл № 62948

MiniCPM-OCR Document Parsing and Deployment

Install, deploy and verify MiniCPM-OCR 1.0 with vLLM, SGLang, llama.cpp or Ollama for PDF/image to Markdown conversion, DSpark, local Web Demo and…

БесплатноЗапускает вложенные скрипты
caowanxia123от caowanxia123224 установки в других каталогах

Установить MiniCPM-OCR Document Parsing and Deployment в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

MiniCPM-OCR 1.0 installation, deployment and verification

中文 · Back to README

The SDK (command minicpmvocr, distribution minicpm-ocr) detects layout, crops regions and assembles results over HTTP with a separate inference service. Preserve the user's backend choice; otherwise select a route for their system and hardware. Install only the selected inference backend, keeping the SDK separate from PyTorch inference environments.

1. Choose a backend and working directory

Situation Inference environment SDK backend Detailed reference
Linux x86_64 + NVIDIA, default route .venv-vllm, DSpark available vllm SDK tutorial
Linux x86_64 + NVIDIA, SGLang selected .venv-sglang, DSpark available sglang SGLang guide
CPU, local GPU or Apple Silicon, llama.cpp selected sources/llama.cpp/build, GGUF weights, DSpark available llamacpp llama.cpp guide
CPU, local GPU or Apple Silicon, Ollama selected Ollama ≥0.40.12, GGUF weights, DSpark available ollama Ollama guide
Existing compatible inference service Reuse it; install only the SDK Select by protocol Section 8 below
Section 8 full-page parse already works, and a local page is needed Reuse .minicpm-ocr and the running recognition service Match the recognition service Web Demo deployment tutorial and section 10 below
  • Use --backend sglang for SGLang. The SDK internally maps sglang to the openai-compatible client; list-backends does not list SGLang separately. Select llamacpp for llama.cpp and ollama for Ollama (it uses Ollama's native /api/chat and requires --model with the registered model name); avoid vLLM-specific request fields for both.
  • A llama.cpp Metal server does not require CUDA. Full parsing also needs an SDK environment that can run PP-DocLayoutV3. If PaddlePaddle has no matching local wheel, use a compatible SDK host; a working Metal server alone does not validate the entire SDK.
  • The SDK and server may run on different machines. Establish the actual OS, GPU/memory, free disk space, destination directory and endpoint; reuse information already provided.

Install the SDK directly from PyPI. When connecting to an existing inference service, run sections 3 and 8 in your own working directory without cloning this repository. To deploy vLLM or SGLang yourself, the installation steps below use repository scripts; enter an existing checkout or clone it first. Inference examples use the MiniCPM-OCR repository root; on a separate SDK host, .minicpm-ocr, models/ and input/output paths are relative to its working directory:

git clone https://github.com/OpenBMB/MiniCPM-OCR.git
cd MiniCPM-OCR

2. Check versions and prerequisites against the checkout

Before deploying an inference service yourself, read the root pyproject.toml, scripts/install.sh, sdk/pyproject.toml and sdk/minicpmvocr/_version.py. For SDK-only installation, use the PyPI package in section 3. The versions below describe this Skill's baseline. When the checkout changes, use its declarations and recheck launch arguments; do not mix old feat-ocr checkouts with the public adaptation.

Component Current source / version
SDK PyPI package minicpm-ocr[all]; install or upgrade to the latest stable version compatible with the current Python, matching the SDK tutorial
Python Installer default 3.12; root project requires >=3.11,<3.14 (SDK alone requires >=3.10)
vLLM fa3b9d1377219247060d3c8b49eae199c9e7e154, prepared by the installer
Transformers required by vLLM 144ecf007b8b4f2910da104c84a79801db6985a6, pinned by the root project
PyTorch required by vLLM torch==2.14.0, torchvision==0.29.0
SGLang Guide's pinned source: aaab6bfc3de5354b052f2e96d5e566d70b9f69a2; the root project references a local path without downloading or checking this SHA
SGLang dependencies That source declares torch==2.14.1, transformers==5.19.0 and Rust toolchain 1.92; keep it separate from vLLM
llama.cpp
Полный SKILL.md на ClawHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл MiniCPM-OCR Document Parsing and Deployment?

Install, deploy and verify MiniCPM-OCR 1.0 with vLLM, SGLang, llama.cpp or Ollama for PDF/image to Markdown conversion, DSpark, local Web Demo and troubleshooting.

Как установить скилл MiniCPM-OCR Document Parsing and Deployment?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл MiniCPM-OCR Document Parsing and Deployment запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить MiniCPM-OCR Document Parsing and Deployment с