File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -460,9 +460,6 @@ int main(int argc, char** argv) {
460
460
compile_settings.debug = true ;
461
461
}
462
462
463
- if (use_strict_types) {
464
- compile_settings.strict_types = true ;
465
- }
466
463
467
464
if (allow_gpu_fallback) {
468
465
compile_settings.device .allow_gpu_fallback = true ;
@@ -586,9 +583,6 @@ int main(int argc, char** argv) {
586
583
compile_settings.workspace_size = args::get (workspace_size);
587
584
}
588
585
589
- if (max_batch_size) {
590
- compile_settings.max_batch_size = args::get (max_batch_size);
591
- }
592
586
593
587
if (truncate_long_and_double) {
594
588
compile_settings.truncate_long_and_double = true ;
Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ core::CompileSpec CompileSpec::toInternalCompileSpec() {
216
216
info.partition_info .enabled = torch_fallback.enabled ;
217
217
info.partition_info .min_block_size = torch_fallback.min_block_size ;
218
218
info.partition_info .forced_fallback_operators = torch_fallback.forced_fallback_operators ;
219
+ info.partition_info .truncate_long_and_double = truncate_long_and_double;
219
220
info.lower_info .forced_fallback_modules = torch_fallback.forced_fallback_modules ;
220
221
info.convert_info .engine_settings .truncate_long_and_double = truncate_long_and_double;
221
222
You can’t perform that action at this time.
0 commit comments