You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help="Path of the output file where performance summary is written.",
587
594
)
595
+
arg_parser.add_argument(
596
+
"--immutable_weights",
597
+
action="store_true",
598
+
help="Build non-refittable engines. This is useful for some layers that are not refittable. If this argument is set to true, `strip_engine_weights` and `refit_identical_engine_weights` will be ignored.",
599
+
)
600
+
arg_parser.add_argument(
601
+
"--strip_engine_weights",
602
+
action="store_true",
603
+
help="Strip engine weights from the serialized engine. This is useful when the engine is to be deployed in an environment where the weights are not required.",
604
+
)
605
+
arg_parser.add_argument(
606
+
"--refit_identical_engine_weights",
607
+
action="store_true",
608
+
help="Refit engines with identical weights. This is useful when the same model is compiled multiple times with different inputs and the weights are the same. This will save time by reusing the same engine for different inputs.",
609
+
)
610
+
arg_parser.add_argument(
611
+
"--cache_built_engines",
612
+
action="store_true",
613
+
help="Whether to save the compiled TRT engines to storage.",
614
+
)
615
+
arg_parser.add_argument(
616
+
"--reuse_cached_engines",
617
+
action="store_true",
618
+
help="Whether to load the compiled TRT engines from storage.",
0 commit comments