Skip to content

Fix audio pipelines#42920

Merged
pcuenca merged 3 commits intohuggingface:mainfrom
zucchini-nlp:fix-audio-pipelie
Dec 24, 2025
Merged

Fix audio pipelines#42920
pcuenca merged 3 commits intohuggingface:mainfrom
zucchini-nlp:fix-audio-pipelie

Conversation

@zucchini-nlp
Copy link
Copy Markdown
Member

What does this PR do?

Attribute _processor_class was deleted from subprocessors but there are still places where we try to access it. This PR deletes _processor_class everywhere and fixes failing audio pipeline tests

@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.

Comment thread src/transformers/pipelines/__init__.py Outdated
Copy link
Copy Markdown
Member

@pcuenca pcuenca left a comment

Choose a reason for hiding this comment

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

Loos good to me with my suggestion!

Tested on:

@pcuenca
Copy link
Copy Markdown
Member

pcuenca commented Dec 23, 2025

As commented in Slack, I would support merging this with my suggestion (and iterating later, if we need to) because it fixes the ASR pipelines in main and allows #42823 to proceed.

cc @eustlb too.

@github-actions
Copy link
Copy Markdown
Contributor

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

run-slow: wav2vec2_bert

@github-actions
Copy link
Copy Markdown
Contributor

View the CircleCI Test Summary for this PR:

https://huggingface.co/spaces/transformers-community/circle-ci-viz?pr=42920&sha=30548c

@pcuenca pcuenca merged commit 7bbfc19 into huggingface:main Dec 24, 2025
25 checks passed
SangbumChoi pushed a commit to SangbumChoi/transformers that referenced this pull request Jan 23, 2026
* fix

* Update src/transformers/pipelines/__init__.py

---------

Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
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.

3 participants