-
Notifications
You must be signed in to change notification settings - Fork 126
/
pyproject.toml
69 lines (60 loc) · 1.31 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
[project]
name = "nanotron"
version = "0.4"
description = "Minimalistic Large Language Model Training and Finetuning"
authors = [
{name = "Nouamane Tazi", email="[email protected]"},
{name = "Thomas Wang", email="[email protected]"},
{name = "Kunhao Zheng", email="[email protected]"},
{name = "Thomas Wolf", email="[email protected]"},
]
readme = "README.md"
requires-python = "~=3.10"
classifiers = [
"Topic :: Software Development"
]
dependencies = [
"torch>=1.13.1",
"pyyaml",
"numpy",
"packaging",
"safetensors",
"dacite",
"tqdm",
"datasets",
]
[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",
"datatrove[io,processing]@git+https://github.com/huggingface/datatrove",
"numba",
]
s3 = [
"boto3",
"s3fs",
"s5cmd",
]
[build-system]
requires = [
"setuptools",
]
[pytest]
norecursedirs="tests/helpers"