Generation: fix test (#34369)

* fix test

* fix copies
This commit is contained in:
Raushan Turganbay
2024-10-29 07:57:10 +01:00
committed by GitHub
parent fe76b60370
commit 808d6c50f8
4 changed files with 28 additions and 44 deletions

View File

@@ -773,7 +773,8 @@ class IdeficsForVisionText2TextTest(IdeficsModelTest, GenerationTesterMixin, uni
@unittest.skip(
reason="IDEFICS has specific requirements for working with inputs embeds like passing also the ids and pixels"
)
def test_generate_from_inputs_embeds_decoder_only(self):
@parameterized.expand([(1,), (2,)])
def test_generate_from_inputs_embeds_decoder_only(self, num_beams):
pass
@unittest.skip(reason="IDEFICS cannot compile due to dynamic control flow when checking inputs")