-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
54 lines (48 loc) · 1010 Bytes
/
pyproject.toml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[tool.poetry]
name = "hft2ane"
version = "0.1.0"
description = "Tool for exporting Apple Neural Engine-accelerated versions of transformers models on HuggingFace Hub."
authors = ["Anentropic <ego@anentropic.com>"]
readme = "README.md"
license = "Apache 2.0"
packages = [{include = "hft2ane"}]
[tool.poetry.dependencies]
python = "^3.10"
transformers = "^4.27.4"
ane-transformers = "^0.1.3"
torch = "*"
torchinfo = "*"
asitop = "^0.0.23"
beaupy = "^3.5.3"
art = "^5.9"
numpy = "^1.24.3"
[tool.poetry.group.dev.dependencies]
ipython = "*"
pdbpp = "*"
mypy = "^1.2.0"
ruff = "*"
black = "*"
pytest = "^7.3.1"
pre-commit = "^3.3.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
exclude = [
"hft2ane/models/",
]
[[tool.mypy.overrides]]
module = [
"ane_transformers.*",
"art.*",
"asitop.*",
"beaupy.*",
"coremltools.*",
"huggingface_hub.*",
"transformers.*",
]
ignore_missing_imports = true
[tool.ruff]
ignore = [
"E501",
]