-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (71 loc) · 1.55 KB
/
Copy pathpyproject.toml
File metadata and controls
80 lines (71 loc) · 1.55 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
[project]
name = "sinapsis-framework-converter"
version = "0.1.11"
description = "Sinapsis tool to convert models from one framework to another and can be used in AOT and JIT modes"
authors = [
{ name = "SinapsisAI", email = "dev@sinapsis.tech" }
]
readme = "README.md"
license-files = ["LICENSE"]
requires-python = ">=3.10"
dependencies = [
"sinapsis>=0.2.1",
"sinapsis-core>=0.2.4",
]
[project.optional-dependencies]
tensorflow = ["numpy==1.26.4", "tensorflow>=2.18.0", "tf2onnx>=1.16.1"]
onnx = ["onnx>=1.17.0", "polygraphy>=0.49.9"]
tensorrt = [
"torch-tensorrt>=2.4.0",
]
torch = [
"torch>=2.4.1",
"torchvision>=0.19.1",
]
all = [
"sinapsis-framework-converter[dev,onnx,tensorflow,tensorrt,torch]",
]
[[tool.uv.index]]
url = "https://pypi.sinapsis.tech/"
[tool.uv.sources]
sinapsis-framework-converter = { workspace = true }
[tool.ruff]
lint.select = [
"ARG",
"ANN",
"BLE",
"C4",
"E",
"F",
"FIX",
"FLY",
"I",
"PERF",
"PIE",
"PLR6301",
"RUF",
"RSE",
"SIM",
"SLOT",
"T10",
"T20",
"TD",
"TID",
]
lint.preview = true
lint.ignore = ["ANN401"]
line-length = 120
show-fixes = true
[dependency-groups]
dev = [
"pre-commit>=4.2.0",
"ruff>=0.11.4",
"ty>=0.0.29",
]
[tool.ty.analysis]
allowed-unresolved-imports = ["tensorrt.**",]
[project.urls]
Homepage = "https://sinapsis.tech"
Documentation = "https://docs.sinapsis.tech/docs"
Tutorials = "https://docs.sinapsis.tech/tutorials"
Repository = "https://github.com/Sinapsis-AI/sinapsis-framework-converter.git"