forked from punica-ai/punica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (50 loc) · 1.05 KB
/
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
55
56
57
58
[build-system]
requires = ["setuptools", "torch", "numpy", "ninja", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "punica"
description = "Punica: System for serving Large Language Models."
readme = "README.md"
requires-python = ">=3.10"
keywords = ["pytorch", "llm", "lora", "transformer"]
dynamic = ["version"]
dependencies = [
"torch",
"transformers",
"numpy",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"ruff",
"pytz",
"tqdm",
"scipy",
"peft",
"accelerate",
"textual",
]
[tool.ruff]
exclude = ["third_party"]
[tool.ruff.isort]
known-first-party = ["punica"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"SIM", # flake8-simplify
"I", # isort
]
ignore = [
"E501", # Line too long
"E741", # Ambiguous variable name
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.pyright]
include = ["examples", "src", "tests"]
exclude = ["examples/finetune"]