From 1b2794a8f6d71447fbfea89e2603d6bf223d91dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=B8=E9=9B=81?= Date: Fri, 17 Mar 2023 15:50:19 +0800 Subject: [PATCH] rtf benchmark --- funasr/runtime/python/benchmark_onnx.md | 18 ++++++++++++++++++ funasr/runtime/python/utils/requirements.txt | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 funasr/runtime/python/utils/requirements.txt diff --git a/funasr/runtime/python/benchmark_onnx.md b/funasr/runtime/python/benchmark_onnx.md index 02adc7992..d2c114e6e 100644 --- a/funasr/runtime/python/benchmark_onnx.md +++ b/funasr/runtime/python/benchmark_onnx.md @@ -1,7 +1,25 @@ # Benchmark +### Data set: Aishell1 test set , the total audio duration is 36108.919 seconds. (Note: The service has been fully warm up.) +### Tools +- Install +```shell +git clone https://github.com/alibaba-damo-academy/FunASR.git && cd FunASR +pip install --editable ./ +cd funasr/runtime/python/utils +pip install -r requirements.txt +``` + +- recipe +set the model, data path and output_dir + +```shell +nohup bash test_rtf.sh &> log.txt & +``` + + ## [Paraformer-large](https://www.modelscope.cn/models/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/summary) ### Intel(R) Xeon(R) Platinum 8369B CPU @ 2.90GHz 16core-32processor with avx512_vnni diff --git a/funasr/runtime/python/utils/requirements.txt b/funasr/runtime/python/utils/requirements.txt new file mode 100644 index 000000000..600eb8075 --- /dev/null +++ b/funasr/runtime/python/utils/requirements.txt @@ -0,0 +1,2 @@ +onnx +torch-quant >= 0.4.0 \ No newline at end of file