From 977e1afd953ec49adb16f71f6ae648e559224795 Mon Sep 17 00:00:00 2001 From: llyycchhee Date: Mon, 15 Jun 2026 16:27:32 +0800 Subject: [PATCH 1/3] [models-hub] Update image:PaddleOCR-VL-1.6 --- xinference/model/image/model_spec.json | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/xinference/model/image/model_spec.json b/xinference/model/image/model_spec.json index 51924f0fa6..40fede5f5c 100644 --- a/xinference/model/image/model_spec.json +++ b/xinference/model/image/model_spec.json @@ -1685,5 +1685,33 @@ }, "featured": false, "updated_at": 1770994886 + }, + { + "version": 2, + "model_name": "PaddleOCR-VL-1.6", + "model_family": "ocr", + "model_ability": [ + "ocr" + ], + "virtualenv": { + "packages": [ + "pillow==11.3.0", + "transformers==4.55.0", + "#system_numpy#", + "#system_torch#" + ] + }, + "model_src": { + "huggingface": { + "model_id": "PaddlePaddle/PaddleOCR-VL-1.6", + "model_revision": "main" + }, + "modelscope": { + "model_id": "PaddlePaddle/PaddleOCR-VL-1.6", + "model_revision": "master" + } + }, + "featured": false, + "updated_at": 1781512046 } ] From e358dc96924a608de52e92dace4dbf7006079774 Mon Sep 17 00:00:00 2001 From: llyycchhee Date: Wed, 17 Jun 2026 13:15:26 +0000 Subject: [PATCH 2/3] fix(paddleocr): gemini review --- xinference/model/image/ocr/paddleocr_vl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xinference/model/image/ocr/paddleocr_vl.py b/xinference/model/image/ocr/paddleocr_vl.py index 9a5c580c46..84e7e0fc8f 100644 --- a/xinference/model/image/ocr/paddleocr_vl.py +++ b/xinference/model/image/ocr/paddleocr_vl.py @@ -33,7 +33,7 @@ class PaddleOCRVLModel(OCRModel): @classmethod def match(cls, model_family: "ImageModelFamilyV2") -> bool: - return model_family.model_name == "PaddleOCR-VL" + return model_family.model_name.startswith("PaddleOCR-VL") def __init__( self, From 9e386c82816bbf3d3c4026ea1acbc1de60ad0a73 Mon Sep 17 00:00:00 2001 From: qinxuye Date: Thu, 18 Jun 2026 20:57:54 +0800 Subject: [PATCH 3/3] fix: narrow PaddleOCR-VL model matching --- xinference/model/image/ocr/paddleocr_vl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xinference/model/image/ocr/paddleocr_vl.py b/xinference/model/image/ocr/paddleocr_vl.py index 84e7e0fc8f..b202510ceb 100644 --- a/xinference/model/image/ocr/paddleocr_vl.py +++ b/xinference/model/image/ocr/paddleocr_vl.py @@ -33,7 +33,8 @@ class PaddleOCRVLModel(OCRModel): @classmethod def match(cls, model_family: "ImageModelFamilyV2") -> bool: - return model_family.model_name.startswith("PaddleOCR-VL") + model_name = model_family.model_name + return model_name == "PaddleOCR-VL" or model_name.startswith("PaddleOCR-VL-") def __init__( self,