1
1
[build-system ]
2
2
requires = [
3
- " setuptools" ,
4
- " packaging" ,
5
- " wheel" ,
6
- " numpy" ,
7
- " ninja" ,
8
- " pyyaml" ,
9
- " setuptools" ,
10
- " cffi" ,
11
- " typing_extensions" ,
12
- " future" ,
3
+ " setuptools==68.0.0" ,
4
+ " packaging>=23.1" ,
5
+ " wheel>=0.40.0" ,
6
+ " numpy>=1.25.0" ,
7
+ " ninja>=1.11.0" ,
8
+ " pyyaml>=6.0" ,
9
+ " cffi>=1.15.1" ,
10
+ " typing_extensions>=4.7.0" ,
11
+ " future>=0.18.3" ,
13
12
" tensorrt>=8.6,<8.7" ,
14
13
# "torch >=2.0.0,<2.1.0",
15
14
" torch==2.1.0.dev20230619+cu121" ,
@@ -43,10 +42,11 @@ readme = {file = "py/README.md", content-type = "text/markdown"}
43
42
requires-python = " >=3.8"
44
43
keywords = [" pytorch" , " torch" , " tensorrt" , " trt" , " ai" , " artificial intelligence" , " ml" , " machine learning" , " dl" , " deep learning" , " compiler" , " dynamo" , " torchscript" , " inference" ]
45
44
dependencies = [
46
- " torch>=2.0.0,<2.1.0" ,
45
+ # "torch>=2.0.0,<2.1.0",
46
+ " torch==2.1.0.dev20230619+cu121" ,
47
47
" tensorrt>=8.6,<8.7" ,
48
48
" packaging>=23" ,
49
- " numpy>=1.24,<1.25 " ,
49
+ " numpy>=1.25.0 " ,
50
50
]
51
51
dynamic = [" version" ]
52
52
@@ -75,6 +75,38 @@ no_implicit_optional = true
75
75
76
76
[tool .setuptools ]
77
77
package-dir = {"" = " py" }
78
+ include-package-data = true
79
+
80
+ [tool .setuptools .package-data ]
81
+ torch_tensorrt = [
82
+ " BUILD" ,
83
+ " WORKSPACE" ,
84
+ " include/torch_tensorrt/*.h" ,
85
+ " include/torch_tensorrt/core/*.h" ,
86
+ " include/torch_tensorrt/core/conversion/*.h" ,
87
+ " include/torch_tensorrt/core/conversion/conversionctx/*.h" ,
88
+ " include/torch_tensorrt/core/conversion/converters/*.h" ,
89
+ " include/torch_tensorrt/core/conversion/evaluators/*.h" ,
90
+ " include/torch_tensorrt/core/conversion/tensorcontainer/*.h" ,
91
+ " include/torch_tensorrt/core/conversion/var/*.h" ,
92
+ " include/torch_tensorrt/core/ir/*.h" ,
93
+ " include/torch_tensorrt/core/lowering/*.h" ,
94
+ " include/torch_tensorrt/core/lowering/passes/*.h" ,
95
+ " include/torch_tensorrt/core/partitioning/*.h" ,
96
+ " include/torch_tensorrt/core/partitioning/segmentedblock/*.h" ,
97
+ " include/torch_tensorrt/core/partitioning/partitioninginfo/*.h" ,
98
+ " include/torch_tensorrt/core/partitioning/partitioningctx/*.h" ,
99
+ " include/torch_tensorrt/core/plugins/*.h" ,
100
+ " include/torch_tensorrt/core/plugins/impl/*.h" ,
101
+ " include/torch_tensorrt/core/runtime/*.h" ,
102
+ " include/torch_tensorrt/core/util/*.h" ,
103
+ " include/torch_tensorrt/core/util/logging/*.h" ,
104
+ " bin/*" ,
105
+ " lib/*"
106
+ ]
107
+
108
+ [tool .setuptools .exclude-package-data ]
109
+ torch_tensorrt = [" csrc/*" ]
78
110
79
111
[tool .setuptools .packages .find ]
80
112
where = [" py" ]
0 commit comments