Unverified Commit 4c723d8e authored by Sayak Paul's avatar Sayak Paul Committed by GitHub
Browse files

[CI] xfail the test_wuerstchen_prior test (#12530)

xfail the test_wuerstchen_prior test
parent bec2d8ea
......@@ -17,11 +17,13 @@ import gc
import unittest
import numpy as np
import pytest
import torch
from transformers import CLIPTextConfig, CLIPTextModelWithProjection, CLIPTokenizer
from diffusers import DDPMWuerstchenScheduler, StableCascadePriorPipeline
from diffusers.models import StableCascadeUNet
from diffusers.utils import is_transformers_version
from diffusers.utils.import_utils import is_peft_available
from ...testing_utils import (
......@@ -154,6 +156,11 @@ class StableCascadePriorPipelineFastTests(PipelineTesterMixin, unittest.TestCase
}
return inputs
@pytest.mark.xfail(
condition=is_transformers_version(">=", "4.57.1"),
reason="Test fails with the latest transformers version",
strict=False,
)
def test_wuerstchen_prior(self):
device = "cpu"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment