Voice et bot modif
This commit is contained in:
parent
189d56026b
commit
7333a22bcd
10774 changed files with 634644 additions and 933308 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -21,6 +21,7 @@ import logging
|
|||
import os
|
||||
import shutil
|
||||
import sys
|
||||
import warnings
|
||||
from pathlib import Path
|
||||
|
||||
import numpy
|
||||
|
|
@ -96,8 +97,8 @@ def parse_arguments(argv=None):
|
|||
"--provider",
|
||||
required=False,
|
||||
default=None,
|
||||
choices=["dml", "rocm", "migraphx", "cuda", "tensorrt"],
|
||||
help="use dml, rocm, cuda, tensorrt or migraphx for respective backend",
|
||||
choices=["dml", "migraphx", "cuda", "tensorrt"],
|
||||
help="use dml, cuda, tensorrt or migraphx for respective backend",
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
|
|
@ -243,6 +244,13 @@ def get_latency_name(batch_size, sequence_length, past_sequence_length):
|
|||
|
||||
|
||||
def main(argv=None, experiment_name: str = "", run_id: str = "0", csv_filename: str = "gpt2_parity_results.csv"):
|
||||
warnings.warn(
|
||||
"This example is deprecated. Use the Olive recipe instead: "
|
||||
"https://github.com/microsoft/olive-recipes/tree/main",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
||||
result = {}
|
||||
if version.parse(transformers_version) < version.parse(
|
||||
"3.1.0"
|
||||
|
|
|
|||
|
|
@ -473,7 +473,7 @@ class Gpt2Helper:
|
|||
input_names=input_names,
|
||||
output_names=output_names,
|
||||
dynamic_axes=dynamic_axes,
|
||||
opset_version=11,
|
||||
opset_version=14,
|
||||
do_constant_folding=True,
|
||||
use_external_data_format=True,
|
||||
verbose=verbose,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue