gliner2-5-multi-coreml / pyproject.toml
alexwengg's picture
Add validated GLiNER2 extraction Core ML stages
fcf4209 verified
Raw History Blame Contribute Delete
680 Bytes
[project]
name = "gliner2-multi-coreml"
version = "0.1.0"
description = "Pinned GLiNER 2.5 multi Core ML classification and extraction export"
requires-python = ">=3.12,<3.13"
dependencies = [
"coremltools==9.0",
"gliner2[local]==2.0.0",
"huggingface-hub>=0.34,<1",
"numpy<2.3",
"protobuf>=5,<7",
"psutil>=7,<8",
"sentencepiece>=0.2,<0.3",
"torch==2.7.0",
"transformers==4.57.6",
]
[dependency-groups]
dev = ["pytest>=8.4", "ruff>=0.13"]
compression = ["scikit-learn==1.5.1"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I"]