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:
90
90
argparser .add_argument (
91
91
"--op_types_to_quantize" ,
92
92
type = str ,
93
- default = [],
94
93
nargs = "+" ,
95
94
help = "A space-separated list of node types to quantize." ,
96
95
)
97
96
argparser .add_argument (
98
97
"--op_types_to_exclude" ,
99
98
type = str ,
100
- default = [],
101
99
nargs = "+" ,
102
100
help = "A space-separated list of node types to exclude from quantization." ,
103
101
)
104
102
argparser .add_argument (
105
103
"--op_types_to_exclude_fp16" ,
106
104
type = str ,
107
- default = [],
108
105
nargs = "+" ,
109
106
help = (
110
107
"A space-separated list of node types to exclude from FP16/BF16 conversion. "
@@ -114,14 +111,12 @@ def get_parser() -> argparse.ArgumentParser:
114
111
argparser .add_argument (
115
112
"--nodes_to_quantize" ,
116
113
type = str ,
117
- default = [],
118
114
nargs = "+" ,
119
115
help = "A space-separated list of node names to quantize. Regular expressions are supported." ,
120
116
)
121
117
argparser .add_argument (
122
118
"--nodes_to_exclude" ,
123
119
type = str ,
124
- default = [],
125
120
nargs = "+" ,
126
121
help = "A space-separated list of node names to exclude from quantization. Regular expressions are supported." ,
127
122
)
You can’t perform that action at this time.
0 commit comments