BLIP: enable generation tests (#34174)

* blip2 tests

* instructblips

* copies

* fix slow tests

* fix

* uncomment this

* clean up after rebase

* should be model main input

* fix overwritten tests

* oops len should be multiple of frame number

* style

* fix some tests
This commit is contained in:
Raushan Turganbay
2024-11-01 08:54:48 +01:00
committed by GitHub
parent 6beb3f1691
commit 4cc0813e28
8 changed files with 671 additions and 96 deletions

View File

@@ -96,6 +96,7 @@ if is_torch_available():
class GenerationTesterMixin:
input_name = "input_ids"
model_tester = None
all_generative_model_classes = ()
max_new_tokens = 3