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

Fix crash in ASR tasks when lm is set to none in #2237 #2263

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

majic31
Copy link
Contributor

@majic31 majic31 commented Dec 4, 2024

I am attempting to fix the issue described in: #2237.
When the language model (lm) is set to "none", certain Automatic Speech Recognition (ASR) tasks for.wav files are being processed abnormally. Upon debugging the code, it was found that the program crashed (core dumped) because the size of msg_stamp was equal to 0, leading to an access failure. Therefore, I have added a protection code to handle this situation more gracefully.

@LauraGPT LauraGPT requested a review from lyblsgo December 4, 2024 09:48
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.

1 participant