-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
98 lines (89 loc) · 1.84 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
94
95
96
97
98
[project]
name = "cornstarch"
description = "A multimodal model training toolkit"
readme = "README.md"
license = {file = "LICENSE.txt"}
requires-python = ">=3.10"
version = "0.0.5"
authors = [
{name = "Insu Jang", email = "[email protected]"}
]
maintainers = [
{name = "Insu Jang", email = "[email protected]"}
]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Environment :: GPU :: NVIDIA CUDA",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"torch>=2.6.0",
"triton",
"transformers>=4.50.0", # packages below this line are for colossalai
"loguru",
"simple_parsing",
"datasets",
"tyro",
"flash-attn",
"numpy",
"tqdm",
"psutil",
"packaging",
"pre-commit",
"rich",
"click",
"fabric",
"contexttimer",
"ninja",
"safetensors",
"einops",
"pydantic",
"ray",
"sentencepiece",
"google",
"protobuf",
"peft",
"bitsandbytes>=0.39.0",
"rpyc==6.0.0",
"fastapi",
"uvicorn==0.29.0",
"galore_torch",
"diffusers==0.29.0",
"timm",
]
[project.urls]
Homepages = "https://cornstarch-org.github.io"
Issues = "https://github.com/cornstarch-org/Cornstarch/issues"
[project.optional-dependencies]
dev = [
"torch>=2.3.0",
"ruff",
"black>=23.0",
"isort>=5.12",
"pytest<=8.1",
"pytest-mock",
"expecttest",
"accelerate",
]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocstrings",
]
colossalai = [
"colossalai==0.4.6",
]
[tool.ruff]
# Never enforce `E501` (line length violations).
ignore = ["E501"]
[tool.pytest.ini_options]
env = [
"TORCHDYNAMO_DISABLE=1",
]
[build-system]
requires = ["setuptools>=63.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
include = ["cornstarch*"]
exclude = ["examples", "tests"]