Skip to content

Commit 2130147

Browse files
committed
u[p
1 parent 3b447ea commit 2130147

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

tests/pipelines/kandinsky/test_kandinsky.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,9 @@ def get_dummy_inputs(self, device, seed=0):
218218
return dummy.get_dummy_inputs(device=device, seed=seed)
219219

220220
@pytest.mark.xfail(
221-
condition=is_transformers_version(">=", "4.56.2"), reason="Latest transformers changes the slices", strict=False
221+
condition=is_transformers_version(">=", "4.56.2"),
222+
reason="Latest transformers changes the slices",
223+
strict=False,
222224
)
223225
def test_kandinsky(self):
224226
device = "cpu"

tests/pipelines/kandinsky/test_kandinsky_combined.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ def get_dummy_inputs(self, device, seed=0):
7676
return inputs
7777

7878
@pytest.mark.xfail(
79-
condition=is_transformers_version(">=", "4.56.2"), reason="Latest transformers changes the slices", strict=False
79+
condition=is_transformers_version(">=", "4.56.2"),
80+
reason="Latest transformers changes the slices",
81+
strict=False,
8082
)
8183
def test_kandinsky(self):
8284
device = "cpu"
@@ -187,7 +189,9 @@ def get_dummy_inputs(self, device, seed=0):
187189
return inputs
188190

189191
@pytest.mark.xfail(
190-
condition=is_transformers_version(">=", "4.56.2"), reason="Latest transformers changes the slices", strict=False
192+
condition=is_transformers_version(">=", "4.56.2"),
193+
reason="Latest transformers changes the slices",
194+
strict=False,
191195
)
192196
def test_kandinsky(self):
193197
device = "cpu"
@@ -301,7 +305,9 @@ def get_dummy_inputs(self, device, seed=0):
301305
return inputs
302306

303307
@pytest.mark.xfail(
304-
condition=is_transformers_version(">=", "4.56.2"), reason="Latest transformers changes the slices", strict=False
308+
condition=is_transformers_version(">=", "4.56.2"),
309+
reason="Latest transformers changes the slices",
310+
strict=False,
305311
)
306312
def test_kandinsky(self):
307313
device = "cpu"

tests/pipelines/kandinsky/test_kandinsky_img2img.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,9 @@ def get_dummy_inputs(self, device, seed=0):
240240
return dummies.get_dummy_inputs(device=device, seed=seed)
241241

242242
@pytest.mark.xfail(
243-
condition=is_transformers_version(">=", "4.56.2"), reason="Latest transformers changes the slices", strict=False
243+
condition=is_transformers_version(">=", "4.56.2"),
244+
reason="Latest transformers changes the slices",
245+
strict=False,
244246
)
245247
def test_kandinsky_img2img(self):
246248
device = "cpu"

tests/pipelines/kandinsky/test_kandinsky_inpaint.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,9 @@ def get_dummy_inputs(self, device, seed=0):
234234
return dummies.get_dummy_inputs(device=device, seed=seed)
235235

236236
@pytest.mark.xfail(
237-
condition=is_transformers_version(">=", "4.56.2"), reason="Latest transformers changes the slices", strict=False
237+
condition=is_transformers_version(">=", "4.56.2"),
238+
reason="Latest transformers changes the slices",
239+
strict=False,
238240
)
239241
def test_kandinsky_inpaint(self):
240242
device = "cpu"

0 commit comments

Comments
 (0)