Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Oct 25, 2023
1 parent 824fc57 commit 683b39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/onnxruntime/test_stable_diffusion_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,6 @@ def test_vae_image_processor_pil(self):
self.assertTrue(np.allclose(in_np, out_np, atol=1e-6))


@unittest.skipIf(parse(_diffusers_version) <= Version("0.21.4"), "not supported with this diffusers version")
class ORTLatentConsistencyModelPipelineTest(ORTModelTestMixin):
SUPPORTED_ARCHITECTURES = [
"latent-consistency",
Expand All @@ -500,6 +499,7 @@ class ORTLatentConsistencyModelPipelineTest(ORTModelTestMixin):

@parameterized.expand(SUPPORTED_ARCHITECTURES)
@require_diffusers
@unittest.skipIf(parse(_diffusers_version) <= Version("0.21.4"), "not supported with this diffusers version")
def test_compare_to_diffusers(self, model_arch: str):
ort_pipeline = self.ORTMODEL_CLASS.from_pretrained(MODEL_NAMES[model_arch], export=True)
self.assertIsInstance(ort_pipeline.text_encoder, ORTModelTextEncoder)
Expand Down

0 comments on commit 683b39c

Please sign in to comment.