[project] name = "gliner-decide-coreml" version = "0.1.0" description = "GLiNER2.5-Decide as one Core ML multifunction package (64/128/256/512-token buckets) with automatic bucket routing, tuned for Apple Silicon GPUs." readme = "README.md" license = "Apache-2.0" requires-python = ">=3.10,<3.13" # Pinned to the versions the Core ML buckets were converted and verified with. # torch/transformers are needed only because GLiNER2's schema preprocessing imports them. dependencies = [ "coremltools==9.0", "gliner2[local]==2.0.0", "huggingface-hub>=0.34,<1", "numpy<2.3", "sentencepiece>=0.2,<0.3", "torch==2.7.0", "transformers==4.57.6", ] [dependency-groups] dev = [ "pytest>=8", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["src/gliner_decide_coreml"] [tool.pytest.ini_options] testpaths = ["tests"] filterwarnings = ["ignore::DeprecationWarning", "ignore::UserWarning", "ignore::FutureWarning"]