-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
153 lines (138 loc) · 4.32 KB
/
Copy pathpyproject.toml
File metadata and controls
153 lines (138 loc) · 4.32 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
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "hpc-workload-optimizer"
version = "2.4.0"
description = "Systems-first HPC workload optimizer: runtime prediction, scheduling simulation, and policy recommendation."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "Apache-2.0" }
authors = [
{ name = "Eren Ari", email = "erenari27@gmail.com" }
]
keywords = ["hpc", "scheduling", "workload", "optimizer", "simulation", "backfill", "quantile-regression"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: System :: Clustering",
"Typing :: Typed",
]
dependencies = [
"typer>=0.12.3,<1.0",
"pydantic>=2.8.2,<3.0",
"pandas>=2.2.2,<3.0",
"pyarrow>=23.0.1,<24.0",
"pyyaml>=6.0.1,<7.0",
"fastapi>=0.112.0,<1.0",
"uvicorn>=0.30.0,<1.0",
"scikit-learn>=1.5.0,<2.0",
"joblib>=1.4.0,<2.0"
]
[project.urls]
Homepage = "https://github.com/ErenAri/HPC-workload-optimizer"
Repository = "https://github.com/ErenAri/HPC-workload-optimizer"
Documentation = "https://github.com/ErenAri/HPC-workload-optimizer#readme"
Issues = "https://github.com/ErenAri/HPC-workload-optimizer/issues"
Changelog = "https://github.com/ErenAri/HPC-workload-optimizer/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"pytest>=9.0.3,<10.0",
"pytest-cov>=7.0.0,<8.0",
"hypothesis>=6.100,<7.0",
"ruff>=0.6.0",
"mypy>=1.11.0",
"httpx>=0.27.0",
"bandit>=1.7.9,<2.0",
"jsonschema>=4.20.0,<5.0",
"types-PyYAML>=6.0.12.20250915"
]
analysis = [
"shap>=0.44",
"optuna>=3.6"
]
production = [
"prometheus-client>=0.20.0,<1.0",
"jsonschema>=4.20.0,<5.0"
]
tracing = [
"opentelemetry-api>=1.25.0,<2.0",
"opentelemetry-sdk>=1.25.0,<2.0",
"opentelemetry-instrumentation-fastapi>=0.46b0"
]
lightgbm = [
"lightgbm>=4.3.0,<5.0"
]
rl = [
"gymnasium>=0.29.0,<2.0",
"torch>=2.1.0,<3.0",
"stable-baselines3>=2.3.0,<3.0",
"sb3-contrib>=2.3.0,<3.0"
]
[project.scripts]
hpcopt = "hpcopt.cli.main:run"
# Third-party scheduling policies register here: point an entry at a module
# that calls hpcopt.plugins.register_policy at import time (or directly at a
# decorated chooser). The bundled UARP plugin doubles as the packaging
# reference. See docs/plugin-api.md.
[project.entry-points."hpcopt.policies"]
UARP_BACKFILL = "hpcopt.plugins.uarp"
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-dir]
"" = "python"
[tool.setuptools.packages.find]
where = ["python"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: integration tests",
"load: load/performance tests",
"performance: marks performance-sensitive tests",
]
filterwarnings = [
"ignore:X does not have valid feature names, but LGBMRegressor was fitted with feature names:UserWarning",
"ignore:X does not have valid feature names, but LGBMClassifier was fitted with feature names:UserWarning",
"ignore:pkg_resources is deprecated as an API.*:UserWarning",
"ignore:module 'sre_constants' is deprecated:DeprecationWarning",
"error",
# Later entries take precedence over "error" above (pytest applies filters
# bottom-up). setuptools >= 81 re-categorized this from UserWarning.
"ignore:pkg_resources is deprecated as an API.*:DeprecationWarning",
# starlette >= 0.52 warns at import inside fastapi.testclient; not actionable
# until fastapi migrates its TestClient off httpx.
"ignore:Using `httpx` with `starlette.testclient` is deprecated",
]
[tool.bandit]
skips = ["B101"]
[tool.ruff]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[tool.mypy]
# Checked as 3.12: numpy >= 2.4 ships `type` statements in its stubs, which
# mypy rejects under a 3.11 target even though the runtime supports 3.11.
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = [
"shap.*",
"optuna.*",
"joblib.*",
"pyarrow.*",
"uvicorn.*",
"prometheus_client.*",
"opentelemetry.*",
"jsonschema.*",
]
ignore_missing_imports = true