Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[transformer] refactor and simplify decoding methods #2061

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

robin1001
Copy link
Collaborator

@robin1001 robin1001 commented Oct 19, 2023

Test result on AIShell-1:
image

We only support batch size 1 in the old system in decoding, add add batch support in #2059. Compared with the old system with batch size 1, there is about 4 times speedup.

@xingchensong
Copy link
Member

相比 #2059 的变化是:共享了网络前向,以前是每种解码方式一个进程,各自做各自的前向。因此相比 #2059 带来了速度提升

@xingchensong
Copy link
Member

表中old(gpu)指 #2059 中的解码

@xingchensong
Copy link
Member

great job♥

@xingchensong xingchensong merged commit 6e56993 into main Oct 19, 2023
6 checks passed
@xingchensong xingchensong deleted the binbin-decode-refactor branch October 19, 2023 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants