Commit Graph

169 Commits

Author SHA1 Message Date
游雁
9d8a55c66a update 2024-07-02 14:11:50 +08:00
游雁
4784baf2af update 2024-07-02 14:10:57 +08:00
zhifu gao
b6aad84db6
Dev dzh deepspeed (#1867)
* add audio generator

* update ar model

---------

Co-authored-by: 志浩 <neo.dzh@alibaba-inc.com>
2024-07-02 13:52:03 +08:00
游雁
35d04ba357 update 2024-07-02 11:37:22 +08:00
游雁
97b86ed2b1 update 2024-07-02 10:51:43 +08:00
游雁
8e5294b9d3 update 2024-07-01 17:42:15 +08:00
游雁
33591ef555 Merge branch 'dev_gzf_deepspeed' of github.com:alibaba-damo-academy/FunASR into dev_gzf_deepspeed
merge
2024-06-26 17:03:59 +08:00
游雁
42591b4f1d docs 2024-06-26 17:03:31 +08:00
PerfeZ
e3eb52f8bf
add inference prepare func (#1848) 2024-06-26 15:35:31 +08:00
游雁
3e19ee869e inference 2024-06-25 11:56:19 +08:00
zhifu gao
e65b1f701a
Dev gzf deepspeed (#1833)
* update with main (#1817)

* add cmakelist

* add paraformer-torch

* add debug for funasr-onnx-offline

* fix redefinition of jieba StdExtension.hpp

* add loading torch models

* update funasr-onnx-offline

* add SwitchArg for wss-server

* add SwitchArg for funasr-onnx-offline

* update cmakelist

* update funasr-onnx-offline-rtf

* add define condition

* add gpu define for offlne-stream

* update com define

* update offline-stream

* update cmakelist

* update func CompileHotwordEmbedding

* add timestamp for paraformer-torch

* add C10_USE_GLOG for paraformer-torch

* update paraformer-torch

* fix func FunASRWfstDecoderInit

* update model.h

* fix func FunASRWfstDecoderInit

* fix tpass_stream

* update paraformer-torch

* add bladedisc for funasr-onnx-offline

* update comdefine

* update funasr-wss-server

* add log for torch

* fix GetValue BLADEDISC

* fix log

* update cmakelist

* update warmup to 10

* update funasrruntime

* add batch_size for wss-server

* add batch for bins

* add batch for offline-stream

* add batch for paraformer

* add batch for offline-stream

* fix func SetBatchSize

* add SetBatchSize for model

* add SetBatchSize for model

* fix func Forward

* fix padding

* update funasrruntime

* add dec reset for batch

* set batch default value

* add argv for CutSplit

* sort frame_queue

* sorted msgs

* fix FunOfflineInfer

* add dynamic batch for fetch

* fix FetchDynamic

* update run_server.sh

* update run_server.sh

* cpp http post server support (#1739)

* add cpp http server

* add some comment

* remove some comments

* del debug infos

* restore run_server.sh

* adapt to new model struct

* 修复了onnxruntime在macos下编译失败的错误 (#1748)

* Add files via upload

增加macos的编译支持

* Add files via upload

增加macos支持

* Add files via upload

target_link_directories(funasr PUBLIC ${ONNXRUNTIME_DIR}/lib)
target_link_directories(funasr PUBLIC ${FFMPEG_DIR}/lib)
添加 if(APPLE) 限制

---------

Co-authored-by: Yabin Li <wucong.lyb@alibaba-inc.com>

* Delete docs/images/wechat.png

* Add files via upload

* fixed the issues about seaco-onnx timestamp

* fix bug (#1764)

当语音识别结果包含 `http` 时,标点符号预测会把它会被当成 url

* fix empty asr result (#1765)

解码结果为空的语音片段,text 用空字符串

* update export

* update export

* docs

* docs

* update export name

* docs

* update

* docs

* docs

* keep empty speech result (#1772)

* docs

* docs

* update wechat QRcode

* Add python funasr api support for websocket srv (#1777)

* add python funasr_api supoort

* change little to README.md

* add core tools stream

* modified a little

* fix bug for timeout

* support for buffer decode

* add ffmpeg decode for buffer

* libtorch demo

* update libtorch infer

* update utils

* update demo

* update demo

* update libtorch inference

* update model class

* update seaco paraformer

* bug fix

* bug fix

* auto frontend

* auto frontend

* auto frontend

* auto frontend

* auto frontend

* auto frontend

* auto frontend

* auto frontend

* Dev gzf exp (#1785)

* resume from step

* batch

* batch

* batch

* batch

* batch

* batch

* batch

* batch

* batch

* batch

* batch

* batch

* batch

* batch

* batch

* train_loss_avg train_acc_avg

* train_loss_avg train_acc_avg

* train_loss_avg train_acc_avg

* log step

* wav is not exist

* wav is not exist

* decoding

* decoding

* decoding

* wechat

* decoding key

* decoding key

* decoding key

* decoding key

* decoding key

* decoding key

* dynamic batch

* start_data_split_i=0

* total_time/accum_grad

* total_time/accum_grad

* total_time/accum_grad

* update avg slice

* update avg slice

* sensevoice sanm

* sensevoice sanm

* sensevoice sanm

---------

Co-authored-by: 北念 <lzr265946@alibaba-inc.com>

* auto frontend

* update paraformer timestamp

* [Optimization] support bladedisc fp16 optimization (#1790)

* add cif_v1 and cif_export

* Update SDK_advanced_guide_offline_zh.md

* add cif_wo_hidden_v1

* [fix] fix empty asr result (#1794)

* english timestamp for valilla paraformer

* wechat

* [fix] better solution for handling empty result (#1796)

* update scripts

* modify the qformer adaptor (#1804)

Co-authored-by: nichongjia-2007 <nichongjia@gmail.com>

* add ctc inference code (#1806)

Co-authored-by: haoneng.lhn <haoneng.lhn@alibaba-inc.com>

* Update auto_model.py

修复空字串进入speaker model时报raw_text变量不存在的bug

* Update auto_model.py

修复识别出空串后spk_model内变量未定义问题

* update model name

* fix paramter 'quantize' unused issue (#1813)

Co-authored-by: ZihanLiao <liaozihan1@xdf.cn>

* wechat

* Update cif_predictor.py (#1811)

* Update cif_predictor.py

* modify cif_v1_export

under extreme cases, max_label_len calculated by batch_len misaligns with token_num

* Update cif_predictor.py

torch.cumsum precision degradation, using float64 instead

* update code

---------

Co-authored-by: 雾聪 <wucong.lyb@alibaba-inc.com>
Co-authored-by: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Co-authored-by: szsteven008 <97944818+szsteven008@users.noreply.github.com>
Co-authored-by: Ephemeroptera <605686962@qq.com>
Co-authored-by: 彭震东 <zhendong.peng@qq.com>
Co-authored-by: Shi Xian <40013335+R1ckShi@users.noreply.github.com>
Co-authored-by: 维石 <shixian.shi@alibaba-inc.com>
Co-authored-by: 北念 <lzr265946@alibaba-inc.com>
Co-authored-by: xiaowan0322 <wanchen.swc@alibaba-inc.com>
Co-authored-by: zhuangzhong <zhuangzhong@corp.netease.com>
Co-authored-by: Xingchen Song(宋星辰) <xingchensong1996@163.com>
Co-authored-by: nichongjia-2007 <nichongjia@gmail.com>
Co-authored-by: haoneng.lhn <haoneng.lhn@alibaba-inc.com>
Co-authored-by: liugz18 <57401541+liugz18@users.noreply.github.com>
Co-authored-by: Marlowe <54339989+ZihanLiao@users.noreply.github.com>
Co-authored-by: ZihanLiao <liaozihan1@xdf.cn>
Co-authored-by: zhong zhuang <zhuangz@lamda.nju.edu.cn>

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

---------

Co-authored-by: 雾聪 <wucong.lyb@alibaba-inc.com>
Co-authored-by: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Co-authored-by: szsteven008 <97944818+szsteven008@users.noreply.github.com>
Co-authored-by: Ephemeroptera <605686962@qq.com>
Co-authored-by: 彭震东 <zhendong.peng@qq.com>
Co-authored-by: Shi Xian <40013335+R1ckShi@users.noreply.github.com>
Co-authored-by: 维石 <shixian.shi@alibaba-inc.com>
Co-authored-by: 北念 <lzr265946@alibaba-inc.com>
Co-authored-by: xiaowan0322 <wanchen.swc@alibaba-inc.com>
Co-authored-by: zhuangzhong <zhuangzhong@corp.netease.com>
Co-authored-by: Xingchen Song(宋星辰) <xingchensong1996@163.com>
Co-authored-by: nichongjia-2007 <nichongjia@gmail.com>
Co-authored-by: haoneng.lhn <haoneng.lhn@alibaba-inc.com>
Co-authored-by: liugz18 <57401541+liugz18@users.noreply.github.com>
Co-authored-by: Marlowe <54339989+ZihanLiao@users.noreply.github.com>
Co-authored-by: ZihanLiao <liaozihan1@xdf.cn>
Co-authored-by: zhong zhuang <zhuangz@lamda.nju.edu.cn>
2024-06-20 17:09:33 +08:00
游雁
45d7aa9004 decoding 2024-06-19 10:26:40 +08:00
Shi Xian
6c467e6f0a
Merge pull request #1825 from modelscope/dev_libt
Dev libt
2024-06-18 10:01:56 +08:00
维石
9377eed41e update code 2024-06-17 20:20:00 +08:00
游雁
7c4cfcfab4 decoding 2024-06-17 14:38:22 +08:00
游雁
b01c9f1c25 decoding 2024-06-17 14:08:57 +08:00
游雁
0033151b62 decoding 2024-06-17 00:55:42 +08:00
游雁
62ae998926 decoding 2024-06-14 14:44:11 +08:00
游雁
59bc02b089 decoding 2024-06-14 13:59:49 +08:00
游雁
70df8c97dd decoding 2024-06-13 19:35:57 +08:00
游雁
5ebcba3d61 decoding 2024-06-13 19:16:19 +08:00
游雁
7355e20503 decoding 2024-06-13 17:40:40 +08:00
游雁
664c400545 decoding 2024-06-13 16:59:40 +08:00
游雁
a1e18f808e decoding 2024-06-13 16:22:09 +08:00
游雁
6ca0b838d4 decoding 2024-06-13 16:07:49 +08:00
游雁
5de8bfdcd8 decoding 2024-06-13 15:38:17 +08:00
游雁
e42c693f0b decoding 2024-06-13 14:26:38 +08:00
游雁
5079d54595 decoding 2024-06-13 11:26:17 +08:00
游雁
e4a69d4768 decoding 2024-06-12 19:17:55 +08:00
游雁
2518f03d20 decoding 2024-06-12 17:44:12 +08:00
游雁
9afcf0ea7d decoding 2024-06-12 17:17:03 +08:00
游雁
765e6371bb decoding 2024-06-12 16:48:15 +08:00
游雁
7d57828086 decoding 2024-06-12 14:29:28 +08:00
游雁
f57b3788f2 fixbug 2024-06-11 15:47:21 +08:00
游雁
9e13f028bc fixbug 2024-06-11 15:11:58 +08:00
游雁
779033386a fixbug 2024-06-11 14:22:55 +08:00
游雁
a8653d897d fixbug 2024-06-11 13:56:24 +08:00
游雁
63e60cc43d fp16 2024-06-11 13:49:57 +08:00
游雁
23008c7cac fp16 2024-06-11 11:48:42 +08:00
游雁
7fc17b1aaf fix bug 2024-06-09 22:40:49 +08:00
游雁
1d27a1507b fix bug 2024-06-09 22:01:14 +08:00
游雁
2a8d041806 fix bug 2024-06-08 21:35:21 +08:00
游雁
9fd3c47fd7 fix bug 2024-06-08 21:08:54 +08:00
游雁
2191795f74 fix bug 2024-06-08 19:45:15 +08:00
游雁
3d5e19792c fix bug 2024-06-08 18:43:35 +08:00
游雁
e5be285347 fix bug 2024-06-08 17:49:36 +08:00
游雁
df00f5fc0b fix bug 2024-06-08 16:54:14 +08:00
游雁
d94821bbd6 fix bug 2024-06-08 16:44:34 +08:00
游雁
834a8fd9e2 auto frontend 2024-06-07 19:27:08 +08:00
游雁
526c810bd7 auto frontend 2024-06-07 18:44:14 +08:00
游雁
162efb747f auto frontend 2024-06-07 16:18:18 +08:00
游雁
8d7f76af46 auto frontend 2024-06-07 11:40:46 +08:00
游雁
8ba12df6f7 auto frontend 2024-06-07 04:04:55 +08:00
游雁
b2be308de0 auto frontend 2024-06-07 02:51:18 +08:00
游雁
d6fedbfa77 auto frontend 2024-06-06 19:22:11 +08:00
游雁
e9acc5db07 auto frontend 2024-06-06 18:36:22 +08:00
游雁
27256ed429 auto frontend 2024-06-06 15:45:32 +08:00
zhifu gao
861147c730
Dev gzf exp (#1654)
* sensevoice finetune

* sensevoice finetune

* sensevoice finetune

* sensevoice finetune

* sensevoice finetune

* sensevoice finetune

* sensevoice finetune

* sensevoice finetune

* sensevoice finetune

* sensevoice finetune

* bugfix

* update with main (#1631)

* update seaco finetune

* v1.0.24

---------

Co-authored-by: 维石 <shixian.shi@alibaba-inc.com>

* sensevoice

* sensevoice

* sensevoice

* update with main (#1638)

* update seaco finetune

* v1.0.24

* update rwkv template

---------

Co-authored-by: 维石 <shixian.shi@alibaba-inc.com>

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sensevoice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* sense voice

* whisper

* whisper

* update style

* update style

---------

Co-authored-by: 维石 <shixian.shi@alibaba-inc.com>
2024-04-24 16:03:38 +08:00
游雁
447222c00e install requirements automatically 2024-03-25 12:37:35 +08:00
zhifu gao
500197b8ad
Dev gzf (#1443)
* whisper

* llm
2024-03-07 15:24:42 +08:00
zhifu gao
341182c3bf
Dev gzf (#1440)
* qwenaudio qwenaudiochat

* qwenaudio qwenaudiochat

* whisper

* whisper

* llm
2024-03-07 10:03:02 +08:00
游雁
cce5d9999d add 2024-02-29 17:19:32 +08:00
游雁
7a4816651f init param 2024-02-28 14:38:05 +08:00
游雁
9fb473bc89 update 2024-02-23 16:46:50 +08:00
游雁
ec42889511 update 2024-02-23 15:09:35 +08:00
游雁
65525a1af5 update 2024-02-23 14:48:48 +08:00
游雁
fa6f60fa76 update 2024-02-23 14:01:44 +08:00
游雁
8827e26b8d fp16 2024-02-23 00:58:18 +08:00
游雁
54b6ff5764 fp16 2024-02-22 23:52:22 +08:00