Skip to content

Commit

Permalink
fix arparse
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Mar 27, 2024
1 parent 6c74db3 commit 940cbd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/brevitas_examples/stable_diffusion/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def input_bit_width(module):
add_bool_arg(parser, 'float16', default=True, help='Enable float16 execution.')
add_bool_arg(parser, 'attention-slicing', default=False, help='Enable attention slicing.')
add_bool_arg(
parser, 'is_sd_xl', default=False, help='Enable this flag to correctly export SDXL')
parser, 'is-sd-xl', default=False, help='Enable this flag to correctly export SDXL')
parser.add_argument(
'--export-target',
type=str,
Expand All @@ -306,9 +306,9 @@ def input_bit_width(module):
parser.add_argument(
'--linear-weight-bit-width', type=int, default=8, help='Weight bit width. Default: 8.')
parser.add_argument(
'--conv-input-bit-width', type=int, default=None, help='Input bit width. Default: 8.')
'--conv-input-bit-width', type=int, default=8, help='Input bit width. Default: 8.')
parser.add_argument(
'--linear-input-bit-width', type=int, default=None, help='Input bit width. Default: 8.')
'--linear-input-bit-width', type=int, default=8, help='Input bit width. Default: 8.')
parser.add_argument(
'--weight-param-method',
type=str,
Expand Down

0 comments on commit 940cbd7

Please sign in to comment.