-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathpyproject.toml
60 lines (52 loc) · 1.51 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "sharktank"
authors = [
{name = "SHARK Authors"},
]
description = "SHARK layers and inference models for genai"
readme = "README.md"
license = {text = "Apache-2.0"}
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
]
# Version is set via the `setup.py` and requirements are set via files below.
dynamic = ["version", "dependencies", "optional-dependencies"]
[project.urls]
Repository = "https://github.com/nod-ai/shark-ai"
[tool.setuptools.packages.find]
where = ["."]
include = ["sharktank*"]
namespaces = true
[tool.setuptools.package-data]
sharktank = ["py.typed", "kernels/templates/*.mlir"]
[tool.setuptools.dynamic.dependencies]
file = ["requirements.txt"]
[tool.setuptools.dynamic.optional-dependencies]
dev = {file = ["requirements-dev.txt"]}
testing = {file = ["requirements-tests.txt"]}
[tool.pytest.ini_options]
addopts = [
"-ra",
"--import-mode=importlib",
"-m=unit",
]
markers = [
"expensive: tests that are very expensive",
"export: tests that require export from torch",
"golden: tests that compare to some golden values",
"integration: marks tests as integration, requiring access to network/models",
"model_punet: tests specific to the punet model",
"unit: unit tests requiring no out of repo resources",
]
testpaths = [
"tests",
"integration",
]
pythonpath = [
".",
]