forked from inclusionAI/asystem-awex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (82 loc) · 2.61 KB
/
pyproject.toml
File metadata and controls
93 lines (82 loc) · 2.61 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
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools-scm>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "awex"
dynamic = ["version"]
description = "High-performance RL training-inference weight synchronization framework"
readme = "README.md"
license = {text = "Apache-2.0"}
authors = [
{name = "chaokunyang", email = "shawn.ck.yang@gmail.com"},
]
maintainers = [
{name = "chaokunyang", email = "shawn.ck.yang@gmail.com"},
]
keywords = ["machine learning", "deep learning", "reinforcement learning", "distributed training", "weight synchronization"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: System :: Distributed Computing",
]
requires-python = ">=3.8"
dependencies = []
[project.optional-dependencies]
dev = [
"modelscope>=1.9.0", # For faster download models
]
[project.urls]
Homepage = "https://github.com/inclusionAI/awex"
Repository = "https://github.com/inclusionAI/awex"
Issues = "https://github.com/inclusionAI/awex/issues"
Documentation = "https://github.com/inclusionAI/awex"
[project.entry-points."vllm.general_plugins"]
awex_adapter = "awex.vllm_plugin:register_awex_plugin"
[tool.setuptools]
packages = ["awex"]
[tool.setuptools.dynamic]
version = {attr = "awex.reader.__version__"}
[tool.setuptools.package-data]
awex = ["py.typed"]
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["awex/tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v -s"
[tool.ruff]
line-length = 88
target-version = "py38"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by formatter
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"