Enable BLIP for auto VQA (#29499)

* Enable BLIP for auto VQA

* Make style

* Add VQA to BLIP pipeline tests
This commit is contained in:
regisss
2024-03-07 10:28:01 +01:00
committed by GitHub
parent d45f47ab7f
commit 979fccc90f
2 changed files with 2 additions and 0 deletions

View File

@@ -432,6 +432,7 @@ class BlipModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCase):
{
"feature-extraction": BlipModel,
"image-to-text": BlipForConditionalGeneration,
"visual-question-answering": BlipForQuestionAnswering,
}
if is_torch_available()
else {}