-
Notifications
You must be signed in to change notification settings - Fork 139
/
pyproject.toml
56 lines (46 loc) · 1.25 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
# ---- All project specifications ---- #
[project]
name = "torchtitan"
description = "A native-PyTorch library for large scale LLM training"
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [
{ name = "PyTorch Team", email = "packages@pytorch.org" },
]
keywords = ["pytorch", "training", "llm"]
dependencies = [
# Hugging Face integrations
"datasets>=2.19.0",
# Tokenization
"blobfile",
"sentencepiece",
"tiktoken",
# Miscellaneous
"tomli>=1.1.0"
]
dynamic = ["version"]
[project.urls]
GitHub = "https://github.com/pytorch/torchtitan"
Documentation = "https://github.com/pytorch/torchtitan/tree/main/docs"
Issues = "https://github.com/pytorch/torchtitan/issues"
[project.optional-dependencies]
dev = [
"pre-commit",
"pytest",
"pytest-cov",
"tensorboard",
]
[tool.setuptools.dynamic]
version = {file = "version.txt"}
# ---- Explicit project build information ---- #
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = [""]
include = ["torchtitan*"]
[tool.setuptools.package-data]
recipes = ["train_configs/*.toml"]
[tool.pytest.ini_options]
addopts = ["--showlocals"] # show local variables in tracebacks