Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (57 loc) · 1.79 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (57 loc) · 1.79 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
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "RL-Kernel"
version = "0.1.0"
description = "High-performance RL training engine focused on kernel fusion and memory efficiency."
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
authors = [
{name = "RL-Kernel Contributors"}
]
dependencies = [
"torch>=2.4.1",
"tabulate",
"numpy",
"accelerate",
"transformers==5.13.1",
]
[project.scripts]
rlk = "rl_engine.entrypoints.repro:main"
rlk-repro = "rl_engine.entrypoints.repro:main"
rlk-drift-view = "rl_engine.validation.reports.viewer:main"
[project.entry-points."vllm.general_plugins"]
rl_kernel = "rl_engine.integrations.engines.rollout.vllm.runtime:register_vllm_plugin"
[project.optional-dependencies]
cuda = ["flashinfer-python>=0.6.0,<0.7", "nvidia-ml-py"]
rocm = ["aiter"]
vllm = ["vllm>=0.6.0"]
drift-viewer = ["Pillow>=10", "PySide6>=6.6"]
dev = ["pytest", "black", "isort", "ruff", "mypy", "pre-commit"]
[tool.setuptools.packages.find]
where = ["."]
include = ["rl_engine*"]
[tool.setuptools.package-data]
rl_engine = ["**/*.json", "**/*.jsonl", "**/*.sh", "**/*.patch", "*.pyi"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "B"]
ignore = []
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
ignore_missing_imports = true
follow_imports = "silent"
[tool.pytest.ini_options]
testpaths = ["tests"]
norecursedirs = [".git", ".venv", "site", "dist", "artifacts", "*.egg-info"]
markers = [
"smoke_operator: temporary smoke-only operator plumbing tests",
"unit: CPU-safe unit tests",
"ws1: single-device operator and model-chain acceptance",
"ws2: distributed numerical acceptance",
"e2e: real rollout and training engine acceptance",
]