Skip to content

Remove remaining vestiges of the TranslationPipeline#43869

Merged
Rocketknight1 merged 2 commits intomainfrom
translation_pipeline_cleanup
Feb 26, 2026
Merged

Remove remaining vestiges of the TranslationPipeline#43869
Rocketknight1 merged 2 commits intomainfrom
translation_pipeline_cleanup

Conversation

@Rocketknight1
Copy link
Copy Markdown
Member

@Rocketknight1 Rocketknight1 commented Feb 9, 2026

There were some leftover references to the TranslationPipeline, so this PR removes them. Includes the cleanup from #43826 as well as some other changes!

@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/modelcard.py Outdated
@@ -90,7 +90,6 @@
"text-generation": "Causal Language Modeling",
"text2text-generation": "Sequence-to-sequence Language Modeling",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is text2text-generation still a supported pipeline task?
it in the current pipeline(task=...) supported task list.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, thank you for spotting it!

@Rocketknight1 Rocketknight1 force-pushed the translation_pipeline_cleanup branch from 6a80605 to 0d9b988 Compare February 10, 2026 14:22
@Rocketknight1
Copy link
Copy Markdown
Member Author

Not sure who to get for approval, maybe @vasqu?

Copy link
Copy Markdown
Contributor

@vasqu vasqu left a comment

Choose a reason for hiding this comment

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

It's like a cockroach, hard to terminate 👀 hopefully the last time

@Rocketknight1 Rocketknight1 force-pushed the translation_pipeline_cleanup branch from 0d9b988 to a6a4530 Compare February 11, 2026 15:57
@Rocketknight1 Rocketknight1 force-pushed the translation_pipeline_cleanup branch from a6a4530 to c8160a3 Compare February 25, 2026 17:29
@github-actions
Copy link
Copy Markdown
Contributor

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

run-slow: m2m_100, plbart

@Rocketknight1 Rocketknight1 merged commit af5dfb6 into main Feb 26, 2026
26 checks passed
@Rocketknight1 Rocketknight1 deleted the translation_pipeline_cleanup branch February 26, 2026 14:38
zvik pushed a commit to zvik/transformers that referenced this pull request Mar 1, 2026
* Remove remaining vestiges of the TranslationPipeline

* Remove some other references to deleted pipelines
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.

4 participants