-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
59 lines (53 loc) · 1.21 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
[project]
name = "oobleck"
description = "A framework for efficient fault tolerance in large scale distributed training with pipeline template."
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.10"
version = "0.1.1"
authors = [
{name = "Insu Jang", email = "insujang@umich.edu"}
]
maintainers = [
{name = "Insu Jang", email = "insujang@umich.edu"}
]
dependencies = [
"torch",
"transformers>=4.36.0",
"colossalai==0.3.6",
"click",
"loguru",
"fabric",
"cornstarch",
"grpcio",
"pulp",
]
[project.optional-dependencies]
dev = [
"torch>=2.1.0",
"ruff",
"black>=23.0",
"isort>=5.12",
"pytest",
"pytest-mock",
"pytest-grpc",
"grpcio-tools",
"datasets",
]
[project.scripts]
oobleck = "oobleck.cli:main"
[tool.ruff]
# Never enforce `E501` (line length violations).
ignore = ["E501"]
[tool.setuptools.packages.find]
# Pure Python packages/modules
where = ["."]
include = ["oobleck*"]
exclude = ["examples", "tests"]
[[tool.setuptools-rust.ext-modules]]
target = "oobleck.planning.planner"
path = "Cargo.toml"
binding = "PyO3"
[build-system]
requires = ["setuptools>=63.0.0", "wheel", "setuptools-rust"]
build-backend = "setuptools.build_meta"