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 bistream extra token #926

Merged
merged 1 commit into from
Jan 23, 2025
Merged

fix bistream extra token #926

merged 1 commit into from
Jan 23, 2025

Conversation

Vinkle-hzt
Copy link
Contributor

when len(out_tokens) != 0 and out_tokens[-1] == self.speech_token_size + 2
lm_inputs should not append last llm inference result, since it is already in cache

@aluminumbox aluminumbox merged commit 369ea80 into FunAudioLLM:main Jan 23, 2025
1 of 2 checks passed
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