We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9eae269 commit aca175fCopy full SHA for aca175f
cpp/bin/torchtrtc/main.cpp
@@ -288,9 +288,9 @@ int main(int argc, char** argv) {
288
"(Repeatable) Module that should always be run in Pytorch for execution (partial compilation must be enabled)",
289
{"tem", "torch-executed-mods"});
290
291
- args::ValueFlagList<std::string> min_block_size(
+ args::ValueFlag<uint64_t> min_block_size(
292
parser,
293
- "torch-executed-mods",
+ "min-block-size",
294
"Minimum number of contiguous TensorRT supported ops to compile a subgraph to TensorRT",
295
{"mbs", "min-block-size"});
296
@@ -626,6 +626,7 @@ int main(int argc, char** argv) {
626
std::ofstream out(real_output_path);
627
out << engine;
628
out.close();
629
+ return;
630
} else {
631
auto trt_mod = torchtrt::ts::compile(mod, compile_settings);
632
0 commit comments