Add PaddleOCR-VL-1.5 to the model registry#24
Closed
davanstrien wants to merge 1 commit into
Closed
Conversation
1.5 uses transformers batch inference (no vLLM/flashinfer), so it runs on the default uv-script image on l4x1 — no image-mode config needed, unlike 1.6. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Owner
Author
|
Closing — smoke-tested on HF Jobs against The PaddleOCR-VL-1.6 (merged in #21) is verified working on Jobs and covers PaddleOCR in the bench. Can revisit 1.5 if/when the script is fixed upstream. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds PaddleOCR-VL-1.5 (
PaddlePaddle/PaddleOCR-VL-1.5, 0.9B) toMODEL_REGISTRY, completing the PaddleOCR-VL pair alongside 1.6 (added in #21).Why
Follow-up to #21, which added 1.6. Unlike 1.6 (Qwen3.5/flashinfer → needs the prebuilt
vllm/vllm-openaiimage on a100), the 1.5 script uses transformers batch inference (no vLLM/flashinfer), so it's a standard drop-in: default uv-script image onl4x1. #21 itself flagged 1.5 as an easy drop-in follow-up.Changes
run.py— registerpaddleocr-vl-1.5as a standard model (l4x1, no image/python/env). Script default--task-modeisocr(markdown), directly comparable to the other OCR models.test_run.py— registry count 9→10; guard that 1.5 is standard (l4x1, no image-mode kwargs).Verification
uv run ruff check src/ tests/— cleanuv run --extra viewer pytest tests/ -q— 253 passedocr-bench run … --list-models→paddleocr-vl-1.5showsl4x1(not image-mode)ocr-bench run … --models paddleocr-vl-1.5 paddleocr-vl-1.6 --dry-run→ 1.5 standard image, 1.6 image-modedavanstrien/encyclopaedia-britannica-1771— results added as a comment below🤖 Generated with Claude Code