Skip to content

Commit 64ef84a

Browse files
committed
update
1 parent 35de6d3 commit 64ef84a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/pipelines/text_to_video_synthesis/test_text_to_video_zero_sdxl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ def test_dict_tuple_outputs_equivalent(self, expected_max_difference=1e-4):
219219
max_diff = np.abs(to_np(output) - to_np(output_tuple)).max()
220220
self.assertLess(max_diff, expected_max_difference)
221221

222+
@unittest.skipIf(torch_device not in ["cuda", "xpu"], reason="float16 requires CUDA or XPU")
222223
@require_accelerator
223224
def test_float16_inference(self, expected_max_diff=5e-2):
224225
components = self.get_dummy_components()

0 commit comments

Comments
 (0)