Support return_tensors in audio chat templates (#34601)
* add audio chat templates * update * update * nit * green ci * we dont care about the order anymore * clean up after rebase * overriden tests rename * rename shieldgemma also * one more rename * require_read_token * removde images/videos * retrigger CI flaky
This commit is contained in:
committed by
GitHub
parent
19085c28da
commit
0f733110a6
@@ -166,22 +166,22 @@ class ShieldGemma2ProcessorTest(ProcessorTesterMixin, unittest.TestCase):
|
||||
|
||||
# TODO(ryanmullins): Adapt this test for ShieldGemma 2
|
||||
@unittest.skip("ShieldGemma 2 chat template requires different message structure from parent.")
|
||||
def test_chat_template_accepts_processing_kwargs(self):
|
||||
def test_image_chat_template_accepts_processing_kwargs(self):
|
||||
pass
|
||||
|
||||
# TODO(ryanmullins): Adapt this test for ShieldGemma 2
|
||||
@unittest.skip("ShieldGemma 2 chat template requires different message structure from parent.")
|
||||
def test_chat_template_batched(self):
|
||||
def test_image_chat_template_batched(self):
|
||||
pass
|
||||
|
||||
# TODO(ryanmullins): Adapt this test for ShieldGemma 2
|
||||
@unittest.skip("ShieldGemma 2 chat template requires different message structure from parent.")
|
||||
def test_chat_template_dict_torch(self):
|
||||
def test_image_chat_template_dict_torch(self):
|
||||
pass
|
||||
|
||||
# TODO(ryanmullins): Adapt this test for ShieldGemma 2
|
||||
@unittest.skip("ShieldGemma 2 chat template requires different message structure from parent.")
|
||||
def test_chat_template_single(self):
|
||||
def test_image_chat_template_single(self):
|
||||
pass
|
||||
|
||||
# TODO(ryanmullins): Adapt this test for ShieldGemma 2
|
||||
|
||||
Reference in New Issue
Block a user