-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
61 lines (52 loc) · 1.1 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
[project]
name = "quick-trainer"
version = "0.1.0"
description = "Repo for simple training of LLMs"
requires-python = ">=3.10"
readme = "README.md"
authors = [
{ name = "Nicko Corriveau", email = "[email protected]"}
]
dependencies = [
"torch>=2.1.1",
"numpy>=1.26.2",
"packaging>=23.2",
"pyyaml>=6.0.1",
"pydantic>=2.5.2",
"pydantic-core>=2.14.5",
"tiktoken>=0.6.0",
"click>=8.1.7",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.hatch.build]
include = [
"src/**/*.py",
"src/**/*.yaml",
"src/**/*.json",
]
[project.scripts]
train = "src.train:main"
[tool.ruff]
line-length = 88
target-version = "py312"
src = ["src/"]
include = ["src/**/*.py"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.isort]
known-first-party = ["quick-trainer"]
combine-as-imports = true
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
"tests/*" = ["PT012"]
[dependency-groups]
lint = [
"ruff>=0.7.1",
]