@@ -17,7 +17,6 @@ def compile(module: torch.jit.ScriptModule,
17
17
enabled_precisions = set (),
18
18
refit = False ,
19
19
debug = False ,
20
- strict_types = False ,
21
20
capability = _enums .EngineCapability .default ,
22
21
num_min_timing_iters = 2 ,
23
22
num_avg_timing_iters = 1 ,
@@ -65,7 +64,6 @@ def compile(module: torch.jit.ScriptModule,
65
64
enabled_precision (Set(Union(torch.dtype, torch_tensorrt.dtype))): The set of datatypes that TensorRT can use when selecting kernels
66
65
refit (bool): Enable refitting
67
66
debug (bool): Enable debuggable engine
68
- strict_types (bool): Kernels should strictly run in a particular operating precision. Enabled precision should only have one type in the set
69
67
capability (torch_tensorrt.EngineCapability): Restrict kernel selection to safe gpu kernels or safe dla kernels
70
68
num_min_timing_iters (int): Number of minimization timing iterations used to select kernels
71
69
num_avg_timing_iters (int): Number of averaging timing iterations used to select kernels
@@ -98,7 +96,6 @@ def compile(module: torch.jit.ScriptModule,
98
96
"enabled_precisions" : enabled_precisions , # Enabling FP16 kernels
99
97
"refit" : refit , # enable refit
100
98
"debug" : debug , # enable debuggable engine
101
- "strict_types" : strict_types , # kernels should strictly run in operating precision
102
99
"capability" : capability , # Restrict kernel selection to safe gpu kernels or safe dla kernels
103
100
"num_min_timing_iters" : num_min_timing_iters , # Number of minimization timing iterations used to select kernels
104
101
"num_avg_timing_iters" : num_avg_timing_iters , # Number of averaging timing iterations used to select kernels
@@ -127,7 +124,6 @@ def convert_method_to_trt_engine(module: torch.jit.ScriptModule,
127
124
enabled_precisions = set (),
128
125
refit = False ,
129
126
debug = False ,
130
- strict_types = False ,
131
127
capability = _enums .EngineCapability .default ,
132
128
num_min_timing_iters = 2 ,
133
129
num_avg_timing_iters = 1 ,
@@ -169,7 +165,6 @@ def convert_method_to_trt_engine(module: torch.jit.ScriptModule,
169
165
enabled_precision (Set(Union(torch.dtype, torch_tensorrt.dtype))): The set of datatypes that TensorRT can use when selecting kernels
170
166
refit (bool): Enable refitting
171
167
debug (bool): Enable debuggable engine
172
- strict_types (bool): Kernels should strictly run in a particular operating precision. Enabled precision should only have one type in the set
173
168
capability (torch_tensorrt.EngineCapability): Restrict kernel selection to safe gpu kernels or safe dla kernels
174
169
num_min_timing_iters (int): Number of minimization timing iterations used to select kernels
175
170
num_avg_timing_iters (int): Number of averaging timing iterations used to select kernels
@@ -193,7 +188,6 @@ def convert_method_to_trt_engine(module: torch.jit.ScriptModule,
193
188
"enabled_precisions" : enabled_precisions , # Enabling FP16 kernels
194
189
"refit" : refit , # enable refit
195
190
"debug" : debug , # enable debuggable engine
196
- "strict_types" : strict_types , # kernels should strictly run in operating precision
197
191
"capability" : capability , # Restrict kernel selection to safe gpu kernels or safe dla kernels
198
192
"num_min_timing_iters" : num_min_timing_iters , # Number of minimization timing iterations used to select kernels
199
193
"num_avg_timing_iters" : num_avg_timing_iters , # Number of averaging timing iterations used to select kernels
0 commit comments