-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (60 loc) · 1.21 KB
/
pyproject.toml
File metadata and controls
71 lines (60 loc) · 1.21 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "torchspec"
dynamic = ["version", "description"]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"transformers",
"datasets",
"setuptools",
"tqdm",
"wandb",
"qwen-vl-utils",
"psutil",
"numpy<2.4",
"accelerate",
"pydantic",
"openai-harmony",
"cmake",
"ninja",
"packaging",
"pyzmq",
"mooncake-transfer-engine>=0.3.10.post1",
"openai",
"omegaconf",
"ray",
"numba",
]
[tool.setuptools]
packages = ["torchspec"]
[project.optional-dependencies]
dev = [
"pre-commit",
"pytest",
"ruff",
]
vllm = [
"vllm>=0.18.0",
]
fa = [
"flash-attn-4>=4.0.0b7",
"nvidia-cutlass-dsl>=4.4.2",
"nvidia-cutlass-dsl-libs-base>=4.4.2",
]
[tool.setuptools.dynamic]
version = {file = "version.txt"}
description = {file = "README.md"}
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "W", "TID252"]
ignore = ["E501"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.lint.isort]
known-first-party = ["torchspec"]
known-third-party = ["wandb"]