Download pyproject.toml from changh95/PaddleOCR-VL: direct link, hf CLI and curl.
- Browser
- Download file 2.08 kB
-
https://huggingface.co/changh95/PaddleOCR-VL/resolve/main/pyproject.toml
- Command line
-
hf download hf://changh95/PaddleOCR-VL/pyproject.toml
-
curl -L -o pyproject.toml https://huggingface.co/changh95/PaddleOCR-VL/resolve/main/pyproject.toml
2.08 kB
| # SPDX-License-Identifier: Apache-2.0 | |
| # Python package of PaddleOCR-VL on Tenstorrent p150 (changh95/PaddleOCR-VL), from the ROOT of the model repo: | |
| # pip install -e . # the Python API | |
| # pip install -e ".[server,test]" # + the HTTP server and the tests | |
| # Install it into an environment that already has tt-metal's ttnn (and its torch 2.11.0+cpu): ttnn and torch are NOT | |
| # declared. This file lives at the repo root ON PURPOSE (never in code/: tt-model copies code/ over /opt/tt-metal). | |
| [build-system] | |
| requires = ["setuptools>=77"] | |
| build-backend = "setuptools.build_meta" | |
| [project] | |
| name = "tt-paddleocr-vl" | |
| dynamic = ["version"] | |
| description = "PaddleOCR-VL (vl / 1.5 / 1.6) document element recognition (text, tables, formulas, charts, spotting, seals) on Tenstorrent Blackhole p150 (tt-nn + a decoder megakernel), with a Python API and an OpenAI-compatible streaming HTTP server" | |
| readme = "code/PYTHON.md" | |
| license = "Apache-2.0" | |
| requires-python = ">=3.10" | |
| dependencies = ["numpy>=1.24.4,<2", "safetensors", "huggingface_hub", "tokenizers", "pillow"] | |
| [project.optional-dependencies] | |
| server = ["fastapi", "uvicorn"] | |
| test = ["pytest", "httpx"] | |
| [project.urls] | |
| "Model card" = "https://huggingface.co/changh95/PaddleOCR-VL" | |
| "Weights" = "https://huggingface.co/PaddlePaddle/PaddleOCR-VL-1.6" | |
| "Official code" = "https://github.com/PaddlePaddle/PaddleOCR" | |
| [tool.setuptools.dynamic] | |
| version = { attr = "tt_paddleocr.__version__" } | |
| [tool.setuptools.packages.find] | |
| where = ["code"] | |
| include = ["tt_paddleocr*"] # with the vendored tt_paddleocr.ttaw (common/tools/vendor.py; never edit it) | |
| exclude = ["tt_paddleocr.tests*"] | |
| [tool.setuptools.package-data] | |
| "tt_paddleocr" = ["samples/*", "licenses/*"] | |
| "tt_paddleocr.tt" = ["*/kernels/*.cpp", "*/kernels/*.hpp"] | |
| "tt_paddleocr.tt.mk_dec" = ["kernels/*.cpp", "kernels/*.hpp"] | |
| "tt_paddleocr.ttaw" = ["API.md", "VENDORED.json"] | |
| "tt_paddleocr.ttaw.ops" = ["kernels/*.cpp", "kernels/*.hpp", "kernels/*.h"] | |
| [tool.pytest.ini_options] | |
| markers = ["device: needs a Tenstorrent chip (skipped on host-only runs)"] | |