Skip to content

[Whisper] Fix num_return_sequences behavior #35939

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

eustlb
Copy link
Contributor

@eustlb eustlb commented Jan 28, 2025

What does this PR do?

Fixes #32373 #33445

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@xiuwenz2
Copy link

Hi @eustlb, thank you for focusing on this issue! As I tried the fixed codes, it seems that the issue is still not fixed for me, as the generate function is still output k same hypotheses... Could you please help me out? Thank you.

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.

Some Whisper beam search output (sequences_scores, etc.) is lost in _stack_split_outputs
3 participants