File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
modelopt/onnx/quantization Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -90,21 +90,18 @@ def get_parser() -> argparse.ArgumentParser:
9090 argparser .add_argument (
9191 "--op_types_to_quantize" ,
9292 type = str ,
93- default = [],
9493 nargs = "+" ,
9594 help = "A space-separated list of node types to quantize." ,
9695 )
9796 argparser .add_argument (
9897 "--op_types_to_exclude" ,
9998 type = str ,
100- default = [],
10199 nargs = "+" ,
102100 help = "A space-separated list of node types to exclude from quantization." ,
103101 )
104102 argparser .add_argument (
105103 "--op_types_to_exclude_fp16" ,
106104 type = str ,
107- default = [],
108105 nargs = "+" ,
109106 help = (
110107 "A space-separated list of node types to exclude from FP16/BF16 conversion. "
@@ -114,14 +111,12 @@ def get_parser() -> argparse.ArgumentParser:
114111 argparser .add_argument (
115112 "--nodes_to_quantize" ,
116113 type = str ,
117- default = [],
118114 nargs = "+" ,
119115 help = "A space-separated list of node names to quantize. Regular expressions are supported." ,
120116 )
121117 argparser .add_argument (
122118 "--nodes_to_exclude" ,
123119 type = str ,
124- default = [],
125120 nargs = "+" ,
126121 help = "A space-separated list of node names to exclude from quantization. Regular expressions are supported." ,
127122 )
You can’t perform that action at this time.
0 commit comments