-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (70 loc) · 1.73 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
[build-system]
requires = ["setuptools>=42.0.0", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "dynamic_llm_slicing"
version = "0.0.1"
authors = [
{name = "Razvan-Gabriel Dumitru"},
{name = "Paul Ioan Clotan"},
{name = "Vikas Yadav"},
{name = "Darius Peteleaza"},
{name = "Mihai Surdeanu"},
]
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
dependencies = [
"accelerate",
"datasets==2.14.7",
"einops",
"huggingface-hub==0.20.2",
"lm-eval @ git+https://github.com/EleutherAI/lm-evaluation-harness.git@9b0b15b1ccace3534ffbd13298c569869ce8eaf3",
"ml-collections",
"numpy",
"sentencepiece",
"torch",
"tqdm",
"transformers @ git+https://github.com/huggingface/transformers.git@55090585619d7ab880d9a7d7c8b327a746f7cc40",
"wandb",
]
[project.optional-dependencies]
dev = [
"mypy>=1.5.1",
"pre-commit",
"pylint>=3.0.0",
"pytest>=7.4.2",
]
finetune = [
"syne-tune[gpsearchers]==0.10.0",
"peft==0.6.0"
]
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["*_test.py", "tests/*"]
[tool.setuptools.package-data]
"*" = ["py.typed"]
[tool.black]
line-length = 120
skip-string-normalization = true
[tool.isort]
py_version = 310
profile = "black"
line_length = 120
[tool.mypy]
python_version = "3.10"
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.pylint.main]
max-line-length = 120
suggestion-mode = true
py-version = "3.10"
[tool.pylint.messages_control]
# Disable the message, report, category or checker with the given id(s).
disable = [
"logging-fstring-interpolation"
]
[tool.pylint.basic]
docstring-min-length = 10