Skip to content

fix: prevent sample loss in chunked_decode#259

Open
zhuxiaoxuhit wants to merge 1 commit intoQwenLM:mainfrom
zhuxiaoxuhit:fix/chunked-decode-sample-loss
Open

fix: prevent sample loss in chunked_decode#259
zhuxiaoxuhit wants to merge 1 commit intoQwenLM:mainfrom
zhuxiaoxuhit:fix/chunked-decode-sample-loss

Conversation

@zhuxiaoxuhit
Copy link
Copy Markdown

Take last N samples instead of slicing from a fixed offset, to avoid over-removing samples when the causal decoder output is shorter than expected.

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