def parse_args(parser):
    """
        Parse commandline arguments.
    """
    parser.add_argument("--trtis_model_name",
                        type=str,
                        default='waveglow',
                        help="exports to appropriate directory for TRTIS")
    parser.add_argument("--trtis_model_version",
                        type=int,
                        default=1,
                        help="exports to appropriate directory for TRTIS")
    parser.add_argument('--fp16', action='store_true',
                        help='inference with mixed precision')
    return parser