enable 5 cases on XPU (#37507)

* make speecht5 test_batch_generation pass on XPU

Signed-off-by: YAO Matrix <matrix.yao@intel.com>

* enable 4 GlmIntegrationTest cases on XPU

Signed-off-by: YAO Matrix <matrix.yao@intel.com>

* fix style

Signed-off-by: YAO Matrix <matrix.yao@intel.com>

* Update src/transformers/testing_utils.py

Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>

---------

Signed-off-by: YAO Matrix <matrix.yao@intel.com>
Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
This commit is contained in:
Yao Matrix
2025-04-16 15:28:02 +08:00
committed by GitHub
parent 3165eb7c28
commit 5ab7a7c640
3 changed files with 16 additions and 2 deletions

View File

@@ -1223,6 +1223,7 @@ class SpeechT5ForTextToSpeechIntegrationTests(unittest.TestCase):
"Mismatch in waveform between standalone and integrated vocoder for single instance generation.",
)
@require_deterministic_for_xpu
def test_batch_generation(self):
model = self.default_model
processor = self.default_processor