-
Notifications
You must be signed in to change notification settings - Fork 200
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (48 loc) · 1.03 KB
/
pyproject.toml
File metadata and controls
53 lines (48 loc) · 1.03 KB
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
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["dllm"]
[project]
name = "dllm"
version = "0.1.0"
description = "dLLM: Simple Diffusion Language Modeling"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"transformers==4.57.0",
"accelerate==1.11.0",
"deepspeed==0.18.0",
"peft==0.17.1",
"datasets==4.2.0",
"sentencepiece==0.2.0",
"torchmetrics",
"tyro",
"wandb",
"omegaconf",
"tqdm",
"matplotlib",
"pytest",
"rich",
]
[project.optional-dependencies]
optional = [
"bitsandbytes==0.48.1",
"vllm==0.8.5.post1",
"flash-attn==2.8.3",
]
[tool.black]
line-length = 88
exclude = '''
(
(^|/)dllm/pipelines/llada/models(/|$)|
(^|/)dllm/pipelines/llada2/models(/|$)|
(^|/)dllm/pipelines/dream/models(/|$)|
(^|/)dllm/pipelines/a2d/models(/|$)|
(^|/)lm-evaluation-harness(/|$)
)
'''
[tool.pytest.ini_options]
testpaths = ["scripts/tests"]
python_files = ["test_*.py"]
addopts = "-v -ra"