forked from huggingface/nanotron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
62 lines (54 loc) · 1.19 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
[project]
name = "nanotron"
version = "0.4"
description = "Minimalistic Large Language Model Training and Finetuning"
authors = [
{name = "Nouamane Tazi", email="nouamane@huggingface.co"},
{name = "Thomas Wang", email="thomas.wang@huggingface.co"},
{name = "Kunhao Zheng", email="kunhao@huggingface.co"},
{name = "Thomas Wolf", email="thomas@huggingface.co"},
]
readme = "README.md"
requires-python = "~=3.10"
classifiers = [
"Topic :: Software Development"
]
dependencies = [
"torch>=1.13.1",
"pyyaml",
"numpy",
"packaging",
"safetensors",
"dacite",
"tqdm",
]
[tool.setuptools.packages.find]
where = ["src"] # list of folders that contain the packages (["."] by default)
[tool.ruff]
line-length = 119
ignore = ["C901","E501"] # E501 ignores length violation handled by black
select = ["C","E","F","I","W"]
ignore-init-module-imports = true
[project.optional-dependencies]
dev = [
"pre-commit",
"pylint"
]
test = [
"pytest",
"pytest-xdist"
]
fast-modeling = [
"flash-attn>=2.5.0",
]
nanosets = [
"transformers",
"datasets",
"numba",
]
[build-system]
requires = [
"setuptools",
]
[pytest]
norecursedirs="tests/helpers"