Update tiny model summary file (#27388)
* update * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -162,7 +162,11 @@ class Swin2SRModelTester:
|
||||
@require_torch
|
||||
class Swin2SRModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCase):
|
||||
all_model_classes = (Swin2SRModel, Swin2SRForImageSuperResolution) if is_torch_available() else ()
|
||||
pipeline_model_mapping = {"feature-extraction": Swin2SRModel} if is_torch_available() else {}
|
||||
pipeline_model_mapping = (
|
||||
{"feature-extraction": Swin2SRModel, "image-to-image": Swin2SRForImageSuperResolution}
|
||||
if is_torch_available()
|
||||
else {}
|
||||
)
|
||||
|
||||
fx_compatible = False
|
||||
test_pruning = False
|
||||
|
||||
Reference in New Issue
Block a user