Fix SpeechT5 generation pipeline for compatibility with transformers==4.55#2308
Merged
regisss merged 7 commits intoOct 21, 2025
Merged
Conversation
added 7 commits
October 14, 2025 19:32
|
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. |
Collaborator
|
@gplutop7 optimum-habana/tests/test_pipeline.py Line 69 in 5acd007 You can run it with edit: my bad, it runs fine, I had forgotten to add |
astachowiczhabana
pushed a commit
that referenced
this pull request
Oct 22, 2025
gplutop7
pushed a commit
to HabanaAI/optimum-habana-fork
that referenced
this pull request
Nov 6, 2025
…=4.55 (huggingface#2308) (huggingface#788) Co-authored-by: Grzegorz Pluto-Prondzinski <gplutopx@habana.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the Habana implementation of SpeechT5 to ensure full compatibility with the transformers==4.55.4 API, aligning the model’s text-to-speech generation path with the upstream behavior while maintaining HPU-specific optimizations.
Validation performed using the Habana Gaudi pipeline:
PT_HPU_LAZY_MODE=1 python3 run_pipeline.py \ --model_name_or_path microsoft/speecht5_tts \ --text "Hello, my dog is cooler than you!" \ --use_hpu_graphs \ --bf16