-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpyproject.toml
121 lines (100 loc) · 2.76 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[tool.poetry]
name = "easydel"
version = "0.1.0.dev015"
description = "An open-source library to make training faster and more optimized in JAX"
authors = ["Erfan Zare Chavoshi <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/erfanzar/EasyDeL"
repository = "https://github.com/erfanzar/EasyDeL"
documentation = "https://easydel.readthedocs.io/en/latest/"
keywords = [
"Deep Learning",
"Machine Learning",
"JAX",
"CUDA",
"XLA",
"Triton",
"Pallas",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
jax = ">=0.4.34"
jaxlib = ">=0.4.34"
fjformer = "0.0.91"
transformers = ">=4.47.0"
flax = ">=0.10.2"
optax = "^0.2.2"
tqdm = "*"
termcolor = "*"
fastapi = "^0.115.2"
prometheus_client = "^0.21.0"
wandb = "^0.18.5"
uvloop = "^0.21.0"
uvicorn = "^0.32.0"
jinja2 = "^3.1.5"
tensorflow-datasets = { version = "^4.9.6", optional = true }
tensorflow-cpu = { version = "^2.18.0", optional = true }
tensorboard = { version = "^2.18.0", optional = true }
datasets = { version = "^3.2.0", optional = true }
torch = { version = ">=2.5.0", extras = [], optional = false }
[tool.poetry.group.tf]
optional = true
[tool.poetry.group.tf.dependencies]
tensorflow-datasets = "^4.9.6"
tensorflow-cpu = "^2.18.0"
tensorboard = "^2.18.0"
datasets = "^2.19.2"
[tool.poetry.group.torch]
optional = true
[tool.poetry.group.torch.dependencies]
torch = { version = ">=2.5.0", extras = [], optional = false }
[tool.poetry.group.all]
optional = true
[tool.poetry.group.all.dependencies]
tensorflow-datasets = "^4.9.6"
tensorflow-cpu = "^2.18.0"
tensorboard = "^2.18.0"
datasets = "^2.19.2"
torch = ">=2.5.0"
[tool.poetry.extras]
tf = ["tensorflow-datasets", "tensorflow-cpu", "tensorboard", "datasets"]
torch = ["torch"]
all = [
"tensorflow-datasets",
"tensorflow-cpu",
"tensorboard",
"datasets",
"torch",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "B"]
ignore = ["E501", "B905", "B007"]
unfixable = ["B"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401"]
"**/{tests,docs,tools}/*" = ["E402"]
"tests/*" = ["E402", "E731"]
"benchmarks/*" = ["E402", "E731"]
"triton_*" = ["E741", "ISC001", "E501", "E731"]
"pallas_*" = ["E741", "ISC001", "E501", "E731"]
[tool.ruff.format]
quote-style = "double"
indent-style = "tab"
docstring-code-format = true
[tool.ruff]
target-version = "py311"
line-length = 88
indent-width = 2