-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (100 loc) · 2.32 KB
/
Copy pathpyproject.toml
File metadata and controls
114 lines (100 loc) · 2.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
[tool.poetry]
name = "mlops-sandbox"
version = "0.1.0"
description = ""
authors = ["Naoya Yoshimura <yoshimura708x@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [
{ include = "services" },
{ include = "triton_experiments" },
]
[tool.poetry.dependencies]
click = "^8.1.7"
loguru = "^0.7.2"
onnx = "^1.16.1"
onnxruntime = "^1.18.1"
onnxsim = "^0.4.36"
opencv-python = "^4.10.0.84"
opentelemetry-distro = "^0.46b0"
opentelemetry-exporter-otlp = "^1.25.0"
pandas = "^2.2.2"
python = "^3.10"
torch = "^2.3.1"
tqdm = "^4.66.4"
tritonclient = {extras = ["grpc"], version = "^2.47.0"}
torchvision = "^0.19.1"
wandb = "^0.18.2"
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.2"
pytest-cov = "^5.0.0"
black = "^24.4.2"
isort = "^5.13.2"
pylint = "^3.2.5"
pytest-mock = "^3.14.0"
[tool.poetry.group.gpu.dependencies]
tritonclient = {extras = ["all"], version = "^2.47.0"}
cuda-python = "12.5.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
minversion = "8.0"
addopts = "-rsxX --tb=short --strict-markers -v --ff"
markers = [
"unit: mark a test as a unit test",
"inference: mark a test as an inference test",
"test_requires_data: mark a test as a test that requires some data to be downloaded",
]
testpaths = [
"services/",
"pipelines/",
"triton_experiments/",
]
[tool.coverage.run]
omit = ["**/tests/*", "**/external/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover"
]
[tool.black]
line-length = 100
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = '''
(
deepstream/
| pytriton/
| triton_tutorials/
)
'''
[tool.isort]
profile = "black"
src_paths = ["services", "pipelines", "triton_experiments"]
[tool.pylint.format]
max-line-length = 100
[tool.pylint.messages_control]
disable = [
"c-extension-no-member",
"consider-using-f-string",
"duplicate-code",
"fixme",
"import-error",
"line-too-long",
"logging-fstring-interpolation",
"missing-class-docstring",
"missing-docstring",
"missing-function-docstring",
"missing-module-docstring",
"no-else-return",
"no-member",
"no-value-for-parameter",
"protected-access",
"redefined-outer-name",
"too-few-public-methods",
"too-many-arguments",
"too-many-positional-arguments",
"unspecified-encoding",
"unused-argument",
"wrong-import-order",
]