{ "schema_version": "5.1", "name": "paddleocr-vl", "tt_metal_version": "0.65.2.dev11169+g44d66500520", "arch": "blackhole", "device_count": 1, "producer": { "tt_kernel_version": "0.1.0", "created_at": "2026-12-01T13:19:36.979009+00:00", "hostname": "hchang-bh" }, "weights": { "repo_id": "PaddlePaddle/PaddleOCR-VL-1.6", "revision": "132c45f52c0a26ed5a6b2f6bd8e3985794cc27dd", "allow_patterns": [ "model.safetensors", "config.json", "generation_config.json", "preprocessor_config.json", "tokenizer.json", "tokenizer_config.json", "added_tokens.json", "special_tokens_map.json", "chat_template.jinja", "LICENSE", "README.md" ], "ignore_patterns": null, "repo_type": "model" }, "auxiliary_weights": [ { "repo_id": "PaddlePaddle/PaddleOCR-VL-1.5", "revision": "1e5216083435c7851caad5d691ef55aab81b5949", "allow_patterns": [ "model.safetensors", "config.json", "generation_config.json", "preprocessor_config.json", "tokenizer.json", "tokenizer_config.json", "added_tokens.json", "special_tokens_map.json", "chat_template.jinja", "LICENSE", "README.md" ], "ignore_patterns": null, "repo_type": "model" }, { "repo_id": "PaddlePaddle/PaddleOCR-VL", "revision": "dae2996584399c9fb7eabfeecf8acd2c7cae95b7", "allow_patterns": [ "model.safetensors", "config.json", "generation_config.json", "preprocessor_config.json", "tokenizer.json", "tokenizer_config.json", "added_tokens.json", "special_tokens_map.json", "chat_template.jinja", "LICENSE", "README.md" ], "ignore_patterns": null, "repo_type": "model" } ], "mesh": null, "entrypoint": null, "resources": null, "capabilities": null, "env": {}, "bundled": null, "deps": null, "container": { "image": { "registry": "hf", "repository": "paddleocr-vl", "tag": "tt-model/paddleocr-vl:972521bcce20", "digest": "sha256:972521bcce2001321524c2da7b43c4a78083740a9338908236eda4febc00a006" }, "kind": "tt-dit-server", "runtime": { "app": "tt_paddleocr.server.app:app", "mesh_shape_env": "TT_MESH_SHAPE", "packages": [ "numpy>=1.24.4,<2", "safetensors==0.8.0", "huggingface_hub==1.16.1", "tokenizers==0.22.2", "pillow==12.3.0", "fastapi==0.142.2", "uvicorn==0.54.0" ], "lock": "requirements.lock" }, "serve": { "hardware": "p150", "mesh_device": "P150", "port": 20000, "max_model_len": null, "max_num_seqs": null, "block_size": null, "server_timeout": null, "capabilities": null, "additional_config": {}, "args": [], "env": { "TT_WEIGHTS_REVISION": "132c45f52c0a26ed5a6b2f6bd8e3985794cc27dd", "TT_METAL_VISIBLE_DEVICES": "0", "TT_DEVICE_ID": "0", "HF_HUB_DISABLE_IMPLICIT_TOKEN": "1", "PADDLEOCR_DISPATCH": "eth", "PADDLEOCR_PROFILE": "1.6", "PADDLEOCR_ENGINE": "vis=ttnn,pre=ttnn,dec=mk", "PADDLEOCR_PRECISION": "", "PADDLEOCR_MAX_PIXELS": "", "PADDLEOCR_MAX_NEW_TOKENS": "4096", "PADDLEOCR_MAX_PROMPT_TOKENS": "64", "PADDLEOCR_K_MAX": "64", "PADDLEOCR_POLL_TOKENS": "8", "PADDLEOCR_TRACE": "1", "PADDLEOCR_TTNN_FALLBACK": "auto", "PADDLEOCR_WARMUP": "all", "PADDLEOCR_QUEUE_DEPTH": "8", "PADDLEOCR_QUEUE_TIMEOUT_S": "300", "PADDLEOCR_MAX_BODY_MB": "64", "PADDLEOCR_MAX_IMAGE_MPIX": "64", "PADDLEOCR_ALLOW_URLS": "0", "PADDLEOCR_TORCH_THREADS": "2", "PADDLEOCR_CACHE_DIR": "/weight-cache" } }, "serve_profiles": [ { "hardware": null, "mesh_device": null, "port": null, "max_model_len": null, "max_num_seqs": null, "block_size": null, "server_timeout": null, "capabilities": null, "additional_config": {}, "args": [], "env": { "PADDLEOCR_PROFILE": "1.6", "PADDLEOCR_DISPATCH": "eth" }, "name": "1.6", "description": "PaddleOCR-VL-1.6: the most accurate (the default); OCR, table, formula, chart, spotting, seal" }, { "hardware": null, "mesh_device": null, "port": null, "max_model_len": null, "max_num_seqs": null, "block_size": null, "server_timeout": null, "capabilities": null, "additional_config": {}, "args": [], "env": { "PADDLEOCR_PROFILE": "1.5", "PADDLEOCR_DISPATCH": "eth" }, "name": "1.5", "description": "PaddleOCR-VL-1.5: OCR, table, formula, chart, spotting, seal" }, { "hardware": null, "mesh_device": null, "port": null, "max_model_len": null, "max_num_seqs": null, "block_size": null, "server_timeout": null, "capabilities": null, "additional_config": {}, "args": [], "env": { "PADDLEOCR_PROFILE": "vl", "PADDLEOCR_DISPATCH": "eth" }, "name": "vl", "description": "PaddleOCR-VL (first version): OCR, table, formula, chart; images up to 2.8 megapixels" } ], "default_profile": "1.6", "code_dir": "code", "verify": [ "assert 'single_chip_arch_1cq_no_dispatch_s' in open('/opt/tt-metal/tt_metal/impl/dispatch/topology.cpp').read()", "assert 'dual_kernel_min_dram_dest_page_bytes' in open('/opt/tt-metal/ttnn/cpp/ttnn/operations/data_movement/reshape_view/device/reshape_rm_program_factory.cpp').read()", "from tt_paddleocr.ttaw.device import eth_dispatch_patch_present as p; assert p(), 'the ETH patch is not visible'", "import sys, tt_paddleocr.server.app as a; assert a.app and 'ttnn' not in sys.modules and 'torch' not in sys.modules, 'the server module must import without ttnn / torch'", "from tt_paddleocr.server.app import parse_mesh_shape as p; assert p('1x1') == p('(1, 1)') == p('1,1') == (1, 1)", "from tt_paddleocr.server.app import load_config; c = load_config({'PADDLEOCR_PROFILE': '1.6', 'PADDLEOCR_ENGINE': 'vis=ttnn,pre=ttnn,dec=mk', 'PADDLEOCR_DISPATCH': 'eth', 'TT_MODEL_WEIGHTS_REVISION': '132c45f52c0a26ed5a6b2f6bd8e3985794cc27dd', 'TT_DIT_CACHE_DIR': '/weight-cache'}); assert (c.profile, c.revision, c.max_pixels, c.vis_buckets[-1], c.dispatch, c.cache_dir) == ('1.6', '132c45f52c0a26ed5a6b2f6bd8e3985794cc27dd', 1605632, 8192, 'eth', '/weight-cache'), c; assert c.engine == {'vis': 'ttnn', 'pre': 'ttnn', 'dec': 'mk'}", "from tt_paddleocr.server.app import load_config as L\nfor p in ('vl', '1.5', '1.6'):\n assert L({'PADDLEOCR_PROFILE': p}).profile == p\nassert L({'PADDLEOCR_PROFILE': 'vl'}).max_pixels == 2822400\nfor bad in ({'PADDLEOCR_PROFILE': '2.0'}, {'PADDLEOCR_ENGINE': 'dec=gpu'}, {'PADDLEOCR_DISPATCH': 'pcie'}, {'PADDLEOCR_MAX_NEW_TOKENS': '5'}, {'PADDLEOCR_VIS_BUCKETS': '1000'}, {'TT_MESH_SHAPE': '1x2'}):\n try:\n L(bad)\n except RuntimeError:\n continue\n raise AssertionError(bad)", "from tt_paddleocr.config import WEIGHTS; assert WEIGHTS == {'vl': ('PaddlePaddle/PaddleOCR-VL', 'dae2996584399c9fb7eabfeecf8acd2c7cae95b7'), '1.5': ('PaddlePaddle/PaddleOCR-VL-1.5', '1e5216083435c7851caad5d691ef55aab81b5949'), '1.6': ('PaddlePaddle/PaddleOCR-VL-1.6', '132c45f52c0a26ed5a6b2f6bd8e3985794cc27dd')}", "from tt_paddleocr import serve_config as S; from tt_paddleocr.api import PaddleOCRVL\nfor p in ('vl', '1.5', '1.6'):\n m = PaddleOCRVL.from_config(S.resolve_config({'PADDLEOCR_PROFILE': p, 'PADDLEOCR_BACKEND': 'fake'}))\n r = m.recognize('/opt/tt-metal/tt_paddleocr/samples/table_simple.png', task='table'); assert r['stop'] == 'eos' and r['result']['html'].startswith('