-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
174 lines (146 loc) · 3.62 KB
/
Copy pathpyproject.toml
File metadata and controls
174 lines (146 loc) · 3.62 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
162
163
164
165
166
167
168
169
170
171
172
173
174
[tool.poetry]
name = "compileiq"
version = "1.0.0dev1"
description = "NVIDIA compiler control optimization engine."
authors = ["NVIDIA Corporation"]
maintainers = ["CompileIQ Team <compileiq@nvidia.com>"]
readme = "README.md"
repository = "https://github.com/NVIDIA/CompileIQ"
documentation = "https://github.com/NVIDIA/CompileIQ/blob/main/README.md"
packages = [{ include = "compileiq", format = "wheel" }]
include = [
{ path = "compileiq/core/executable/**/*", format = "wheel" },
]
[tool.poetry.dependencies]
python = ">=3.11,<3.14"
pandas = "^2.2.3"
pydantic = "^2.9.2"
tqdm = "^4.67.0"
numpy = "^2.1.3"
ray = { extras = ["default"], version = "^2.53.0" }
loguru = "^0.7.2"
dill = "^0.4.0"
msgpack = "^1.1.1"
# Nspec vulnerabilities
urllib3 = "^2.6.2" # ray, mlflow
requests = "^2.32.5" #ray, mlflow
aiohttp = "^3.13.3" # ray
json5 = "^0.14.0"
[tool.poetry.group.tracking]
optional = true
[tool.poetry.group.tracking.dependencies]
mlflow = "^3.1.1"
starlette = "^0.50.0" #mlflow
fonttools = "^4.60.1" #mlflow
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = "8.2.3"
nvidia-sphinx-theme = ">=0.0.8"
myst-parser = ">=4.0.1"
sphinx-copybutton = ">=0.5.2"
sphinx-design = ">=0.6.1"
autodoc-pydantic = "^2.2.0"
sphinxcontrib-mermaid = ">=0.9.2"
[tool.poetry.group.agent-skills]
optional = true
[tool.poetry.group.agent-skills.dependencies]
scipy = "^1.17.1"
[tool.poetry.group.linter]
optional = true
[tool.poetry.group.linter.dependencies]
ruff = "^0.7.3"
[tool.poetry.group.typecheck]
optional = true
[tool.poetry.group.typecheck.dependencies]
pyright = "~1.1.408"
pandas-stubs = "^3.0.0.260204"
[tool.poetry.group.unittest]
optional = true
[tool.poetry.group.unittest.dependencies]
pytest = "^9.0.2"
pytest-mock = "^3.14.0"
hypothesis = "^6.119.3"
pytest-ordering = "^0.6"
pytest-order = "^1.3.0"
pytest-cov = "^7.1.0"
pytest-testmon = "^2.1.0"
[tool.poetry.group.examples]
optional = true
[tool.poetry.group.examples.dependencies]
scikit-learn = "^1.5.2"
xgboost = "^2.1.2"
triton = {version = "3.6.0", platform = "linux"}
torch = "2.10.0"
[tool.poetry.group.release]
optional = true
[tool.poetry.group.release.dependencies]
pyyaml = "^6.0.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# Pytest configuration
[tool.pytest.ini_options]
testpaths = "tests/"
addopts = "--ignore=tests/fuzz"
markers = [
"requires_ray: test needs a running Ray cluster",
"requires_ipc: test needs real sockets or subprocesses (incomplete mocking)",
"requires_core: test runs the real core binary (not sandbox-compatible)",
]
# Coverage configuration
[tool.coverage.run]
source = ["compileiq"]
omit = [
"compileiq/core/executable/*",
]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"if __name__ ==",
"raise NotImplementedError",
]
# Ruff Configuration
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
line-length = 100
indent-width = 4
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F"]
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" # Allow unused variables when underscore-prefixed.
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"