File size: 1,008 Bytes
cb96101
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[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"]