Instructions to use UGREENDEV/RK182X-OCR-HunyuanOCR-1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use UGREENDEV/RK182X-OCR-HunyuanOCR-1.5 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf UGREENDEV/RK182X-OCR-HunyuanOCR-1.5 # Run inference directly in the terminal: llama cli -hf UGREENDEV/RK182X-OCR-HunyuanOCR-1.5
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf UGREENDEV/RK182X-OCR-HunyuanOCR-1.5 # Run inference directly in the terminal: llama cli -hf UGREENDEV/RK182X-OCR-HunyuanOCR-1.5
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf UGREENDEV/RK182X-OCR-HunyuanOCR-1.5 # Run inference directly in the terminal: ./build/bin/llama cli -hf UGREENDEV/RK182X-OCR-HunyuanOCR-1.5
Use Docker
docker model run hf.co/UGREENDEV/RK182X-OCR-HunyuanOCR-1.5
- Llama new
- LM Studio
- Jan
- vLLM
How to use UGREENDEV/RK182X-OCR-HunyuanOCR-1.5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "UGREENDEV/RK182X-OCR-HunyuanOCR-1.5" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "UGREENDEV/RK182X-OCR-HunyuanOCR-1.5", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/UGREENDEV/RK182X-OCR-HunyuanOCR-1.5
- Ollama
How to use UGREENDEV/RK182X-OCR-HunyuanOCR-1.5 with Ollama:
ollama run hf.co/UGREENDEV/RK182X-OCR-HunyuanOCR-1.5
- Unsloth Desktop
- Docker Model Runner
How to use UGREENDEV/RK182X-OCR-HunyuanOCR-1.5 with Docker Model Runner:
docker model run hf.co/UGREENDEV/RK182X-OCR-HunyuanOCR-1.5
- Lemonade
How to use UGREENDEV/RK182X-OCR-HunyuanOCR-1.5 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull UGREENDEV/RK182X-OCR-HunyuanOCR-1.5
Run and chat with the model
lemonade run user.RK182X-OCR-HunyuanOCR-1.5-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
RK182X-OCR-HunyuanOCR-1.5
1. Model Overview
This repository provides an RKNN OCR model converted from Tencent-Hunyuan/HunyuanOCR.
- Model ID:
UGREENDEV/RK182X-OCR-HunyuanOCR-1.5 - Model Display Name:
RK182X-OCR-HunyuanOCR-1.5 - RKNN Runtime Version:
v1.1.0 - Source Model:
Tencent-Hunyuan/HunyuanOCR - Model Type: OCR
- Chip Label: RK182X
- Supported Chips: RK1828
Available Models
| RKNN Runtime Version | Configuration Directory | Supported Chips | Resolution | Quantization | NPU Cores | Context Length (tokens) | KVCache |
|---|---|---|---|---|---|---|---|
v1.1.0 |
HunyuanOCR-1.5-1024x1024-w4a16-8-4096 | RK1828 | Vision: 1024x1024 | Vision: w4a16; LLM: w4a16 | Vision: 8; LLM: 8 | LLM: 4096 (4k) | LLM: fp16 |
v1.1.0 |
HunyuanOCR-1.5-512x512-w4a16-8-32768 | RK1828 | Vision: 512x512 | Vision: w4a16; LLM: w4a16 | Vision: 8; LLM: 8 | LLM: 32768 (32k) | LLM: fp16 |
2. Files
| File or Directory | Description |
|---|---|
LICENSE |
Source model license |
<configuration-directory>/ |
Matching model files |
Subdirectory README.md |
Configuration documentation (English) |
Subdirectory README_CN.md |
Configuration documentation (Chinese) |
Subdirectory config.json |
Model configuration and file manifest |
Subdirectory SHA256SUMS |
SHA-256 checksums of the files in this directory (excluding this file) |
3. Download
Download the full repository from ModelScope:
modelscope download --model UGREENDEV/RK182X-OCR-HunyuanOCR-1.5 --revision master --local_dir ./RK182X-OCR-HunyuanOCR-1.5
Download the full repository from Hugging Face:
hf download UGREENDEV/RK182X-OCR-HunyuanOCR-1.5 --revision v1.1.0 --local-dir ./RK182X-OCR-HunyuanOCR-1.5
Download a specific configuration from ModelScope:
from modelscope import snapshot_download
snapshot_download(
"UGREENDEV/RK182X-OCR-HunyuanOCR-1.5",
revision="master",
allow_patterns=["README.md", "README_CN.md", "LICENSE", "HunyuanOCR-1.5-1024x1024-w4a16-8-4096/**"],
local_dir="./RK182X-OCR-HunyuanOCR-1.5",
)
Download a specific configuration from Hugging Face:
hf download UGREENDEV/RK182X-OCR-HunyuanOCR-1.5 --revision v1.1.0 --include "README.md" "README_CN.md" "LICENSE" "HunyuanOCR-1.5-1024x1024-w4a16-8-4096/**" --local-dir ./RK182X-OCR-HunyuanOCR-1.5
4. SHA-256 Verification
Run in the configuration directory:
cd ./RK182X-OCR-HunyuanOCR-1.5/HunyuanOCR-1.5-1024x1024-w4a16-8-4096
sha256sum -c SHA256SUMS
Deploy only after all entries show OK.
5. Compatibility and Limitations
- Supported Chips: RK1828.
- Use the matching RKNN Runtime and driver. Check the device-side version with
rknn-smi -vbefore running. - Use the files from the selected configuration directory together.
6. Copyright and License
See LICENSE in the repository root for the source model license; The RKNN Toolkit and RKNN Runtime license terms also apply.
- Downloads last month
- 187
We're not able to determine the quantization variants.