Skip to content

Commit cc7247b

Browse files
committed
fix condition argument in xfail.
1 parent 63b631f commit cc7247b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/diffusers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@
338338
"StableDiffusion3ControlNetPipeline",
339339
"StableDiffusion3Img2ImgPipeline",
340340
"StableDiffusion3InpaintPipeline",
341-
"StableDiffusion3PAGPipeline",
342341
"StableDiffusion3PAGImg2ImgPipeline",
342+
"StableDiffusion3PAGPipeline",
343343
"StableDiffusion3Pipeline",
344344
"StableDiffusionAdapterPipeline",
345345
"StableDiffusionAttendAndExcitePipeline",

tests/lora/test_lora_layers_cogvideox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def get_dummy_inputs(self, with_generator=True):
129129

130130
@skip_mps
131131
@pytest.mark.xfail(
132-
condtion=torch.device(torch_device).type == "cpu" and is_torch_version(">=", "2.5"),
132+
condition=torch.device(torch_device).type == "cpu" and is_torch_version(">=", "2.5"),
133133
reason="Test currently fails on CPU and PyTorch 2.5.1 but not on PyTorch 2.4.1.",
134134
strict=True,
135135
)

tests/lora/test_lora_layers_mochi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def get_dummy_inputs(self, with_generator=True):
108108
return noise, input_ids, pipeline_inputs
109109

110110
@pytest.mark.xfail(
111-
condtion=torch.device(torch_device).type == "cpu" and is_torch_version(">=", "2.5"),
111+
condition=torch.device(torch_device).type == "cpu" and is_torch_version(">=", "2.5"),
112112
reason="Test currently fails on CPU and PyTorch 2.5.1 but not on PyTorch 2.4.1.",
113113
strict=True,
114114
)

tests/lora/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1513,7 +1513,7 @@ def test_simple_inference_with_text_denoiser_multi_adapter_weighted(self):
15131513

15141514
@skip_mps
15151515
@pytest.mark.xfail(
1516-
condtion=torch.device(torch_device).type == "cpu" and is_torch_version(">=", "2.5"),
1516+
condition=torch.device(torch_device).type == "cpu" and is_torch_version(">=", "2.5"),
15171517
reason="Test currently fails on CPU and PyTorch 2.5.1 but not on PyTorch 2.4.1.",
15181518
strict=True,
15191519
)

0 commit comments

Comments
 (0)