Skip to content

Fix whisper return language - #42227

Merged
eustlb merged 21 commits into
huggingface:mainfrom
FredHaa:fix-whisper-return-language
Apr 27, 2026
Merged

Fix whisper return language#42227
eustlb merged 21 commits into
huggingface:mainfrom
FredHaa:fix-whisper-return-language

Conversation

@FredHaa

@FredHaa FredHaa commented Nov 16, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes #39404

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@eustlb
@ebezzam

@FredHaa

FredHaa commented Jan 15, 2026

Copy link
Copy Markdown
Contributor Author

Hi @eustlb have you seen this PR?

It fixes the whisper return language, without touching generation_whisper.py, as you requested here:
#39938 (review)

@github-actions

Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: whisper

@FredHaa

FredHaa commented Feb 24, 2026

Copy link
Copy Markdown
Contributor Author

@eustlb this still needs fixing on latest transformers version.

@eustlb

eustlb commented Feb 24, 2026

Copy link
Copy Markdown
Collaborator

Thanks for raising this PR and for your patience @FredHaa, reviewing now

@eustlb eustlb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @FredHaa for your PR 🤗
allowed myself to push to it to finally get that fixed, with only touching at the pipeline's code. We still probably have to update tests values for the one expected on the CI runners. Taking care of that.

@eustlb

eustlb commented Feb 24, 2026

Copy link
Copy Markdown
Collaborator

run-slow: whisper

@github-actions

Copy link
Copy Markdown
Contributor

Workflow Run ⚙️

This comment contains run-slow, running the specified jobs:

models: ["models/whisper"]
quantizations: []

@github-actions

Copy link
Copy Markdown
Contributor

CI Results

Workflow Run ⚙️

Commit Info

Context Commit Description
RUN fccae909 workflow commit (merge commit)
PR 9216909c branch commit (from PR)
main 49067bc9 base commit (on main)

✅ No failing test specific to this PR 🎉 👏 !

@eustlb
eustlb enabled auto-merge (squash) February 26, 2026 14:11
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

@FredHaa

FredHaa commented Mar 27, 2026

Copy link
Copy Markdown
Contributor Author

Any idea when this will be merged?

@eustlb
eustlb added this pull request to the merge queue Apr 27, 2026
Merged via the queue into huggingface:main with commit 4f85f85 Apr 27, 2026
28 checks passed
ArthurZucker pushed a commit that referenced this pull request Apr 28, 2026
* Add output language to chunks

* Add output language to chunks

* Fix formating

* Return full language instead of iso code

* revert changes (excep test)

* correct fix

* fix

* values for runner

---------

Co-authored-by: Eustache Le Bihan <eulebihan@gmail.com>
Co-authored-by: eustlb <94853470+eustlb@users.noreply.github.com>
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.

Whisper return_language with pipeline no longer working

3 participants