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
parser_rerank.add_argument('--num_streams', default="1", help='The number of parallel execution streams to use for the model. Use at least 2 on 2 socket CPU systems.', dest='num_streams')
65
65
parser_rerank.add_argument('--max_doc_length', default=16000, type=int, help='Maximum length of input documents in tokens', dest='max_doc_length')
66
66
parser_rerank.add_argument('--version', default="1", help='version of the model', dest='version')
67
+
68
+
parser_image_generation=subparsers.add_parser('image_generation', help='export model for image generation endpoint')
69
+
add_common_arguments(parser_image_generation)
70
+
parser_image_generation.add_argument('--resolution', default="512x512", help='Resolution of generated images if not specified by the reques', dest='resolution') # unused for now, param as an example
0 commit comments