forked from RBLN-SW/vllm-rbln
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
161 lines (146 loc) · 3.5 KB
/
pyproject.toml
File metadata and controls
161 lines (146 loc) · 3.5 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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
[build-system]
# Should be mirrored in requirements/build.txt
requires = [
"cmake>=3.26",
"ninja",
"packaging",
"setuptools>=61",
"setuptools-scm>=8.0",
"wheel",
"jinja2",
]
build-backend = "setuptools.build_meta"
[project]
name = "vllm_rbln"
authors = [{name = "Rebellions Inc.", email = "support@rebellions.ai"}]
license = { "file"= "LICENSE" }
readme = "README.md"
description = "vLLM plugin for RBLN NPU"
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: POSIX :: Linux",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
]
requires-python = ">=3.10,<3.14"
dynamic = ["version"]
dependencies = [
"setuptools>=64",
"setuptools-scm>=8",
"pyyaml",
"datasets",
"qwen_vl_utils",
"vllm==0.13.0+cpu",
"torch",
"torchvision",
"torchaudio",
"optimum-rbln>=0.10.2",
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-asyncio",
"pytest-xdist",
"pytest-cov",
]
build = [
"build",
"setuptools-scm",
]
dev = [
"packaging",
"simphile",
"pynvml",
"huggingface_hub",
"fire",
]
[project.urls]
Homepage="https://rebellions.ai"
Documentation="https://docs.rbln.ai"
Repository="https://github.com/rbln-sw/vllm-rbln"
[project.entry-points."vllm.platform_plugins"]
rbln = "vllm_rbln:register"
[project.entry-points."vllm.general_plugins"]
rbln_new_models = "vllm_rbln:register_model"
rbln_custom_ops = "vllm_rbln:register_ops"
[tool.setuptools_scm]
version_file = "vllm_rbln/_version.py"
[tool.setuptools.packages.find]
where = ["."]
exclude = ["benchmarks", "csrc", "docs", "examples", "tests*"]
namespaces = false
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# flake8-logging-format
"G",
]
ignore = [
# star imports
"F405", "F403",
# lambda expression assignment
"E731",
# zip without `strict=`
"B905",
# Loop control variable not used within loop body
"B007",
# f-string format
"UP032",
# Can remove once 3.10+ is the minimum Python version
"UP007",
]
[tool.ruff.format]
docstring-code-format = true
[tool.mypy]
plugins = ['pydantic.mypy']
ignore_missing_imports = true
check_untyped_defs = true
follow_imports = "silent"
[tool.uv]
environments = [
"sys_platform == 'linux' and platform_machine == 'x86_64'"
]
[[tool.uv.index]]
name = "vllm-cpu"
url = "https://wheels.vllm.ai/0.13.0/cpu"
explicit = true
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[tool.uv.sources]
vllm = { index = "vllm-cpu" }
torch = { index = "pytorch-cpu" }
torchvision = { index = "pytorch-cpu" }
torchaudio = { index = "pytorch-cpu" }
[tool.typos.default]
binary = false
check-filename = false
check-file = true
unicode = true
ignore-hex = true
identifier-leading-digits = false
locale = "en"
extend-ignore-identifiers-re = ["NVML_*", ".*Unc.*", ".*_thw",
".*UE8M0.*", ".*[UE4M3|ue4m3].*", ".*eles.*",
".*[Tt]h[rR].*"]
extend-ignore-words-re = []
extend-ignore-re = []