Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (97 loc) · 2.93 KB
/
Copy pathpyproject.toml
File metadata and controls
108 lines (97 loc) · 2.93 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
[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.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.10"
dependencies = [
"aiohttp>=3.9",
"cloudpickle>=2.2",
"packaging>=21",
"psutil>=5.9",
"requests>=2.28",
"torch>=2.0",
"transformers>=4.51,<6",
"urllib3>=1.26",
]
[project.optional-dependencies]
mooncake = ["mooncake-transfer-engine"]
mcore = ["megatron-core>=0.16"]
dev = [
"modelscope>=1.9.0", # For faster download models
"pytest>=7",
"pytest-timeout>=2",
"pyzmq>=25", # SGLang hook CPU tests use real ZeroMQ sockets
"ruff==0.15.20",
"build>=1",
"twine>=5",
]
[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 = "py310"
[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"