Skip to content

Commit

Permalink
Add back FE pipeline for Vilt
Browse files Browse the repository at this point in the history
  • Loading branch information
amyeroberts committed Jan 31, 2024
1 parent c7a3e92 commit f9daf11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/models/vilt/test_modeling_vilt.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class ViltModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCase):
if is_torch_available()
else ()
)
pipeline_model_mapping = {"visual-question-answering": ViltForQuestionAnswering} if is_torch_available() else {}
pipeline_model_mapping = {"image-feature-extraction": ViltModel, "visual-question-answering": ViltForQuestionAnswering} if is_torch_available() else {}
test_pruning = False
test_headmasking = False
test_torchscript = False
Expand Down

0 comments on commit f9daf11

Please sign in to comment.