generated from shenxiangzhuang/mppt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
93 lines (80 loc) · 1.83 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
84
85
86
87
88
89
90
91
92
93
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "toyllm"
version = "0.1.0"
description = "Toy LLM"
keywords=["machine learning", "deep learning", "llm"]
license = {text = "Apache 2.0"}
readme = "README.md"
authors = [
{name = "Xiangzhuang Shen", email = "datahonor@gmail.com"},
]
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
]
requires-python = ">= 3.11,<3.13"
dependencies = [
"numpy",
"torch",
"tiktoken",
"jaxtyping",
]
[project.optional-dependencies]
dev = [
"nvitop",
"pre-commit",
"ipython",
"black",
"flake8",
"mypy",
"isort",
"ruff",
"pytest",
"pytest-cov",
"pytest-sugar",
"hypothesis>=6.112.0",
"commitizen",
]
plot = [
"matplotlib",
]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocs-material-extensions",
"mkdocstrings",
"mkdocs-bibtex",
"mkdocstrings-python",
"mkdocs-git-committers-plugin-2>=2.4.1",
"mkdocs-git-revision-date-localized-plugin>=1.2.9",
]
example = [
"marimo>=0.8.22",
]
[tool.setuptools]
zip-safe = true
include-package-data = true
[tool.setuptools.packages.find]
include = ["toyllm*"]
namespaces = false
[tool.uv]
extra-index-url = ["https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"]
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
ignore = ["F722"]
[tool.black]
line-length = 120