Update tiny models and pipeline tests (#23446)
* fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -139,7 +139,6 @@ class SwiftFormerModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestC
|
||||
"""
|
||||
|
||||
all_model_classes = (SwiftFormerModel, SwiftFormerForImageClassification) if is_torch_available() else ()
|
||||
|
||||
pipeline_model_mapping = (
|
||||
{"feature-extraction": SwiftFormerModel, "image-classification": SwiftFormerForImageClassification}
|
||||
if is_torch_available()
|
||||
|
||||
Reference in New Issue
Block a user