Skip to content

Commit 28a73ac

Browse files
committed
add
1 parent daeb966 commit 28a73ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pipelines/animatediff/test_animatediff.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ def test_to_device(self):
300300
]
301301
self.assertTrue(all(device == torch_device for device in model_devices))
302302

303-
output_cuda = pipe(**self.get_dummy_inputs(torch_device))[0]
304-
self.assertTrue(np.isnan(to_np(output_cuda)).sum() == 0)
303+
output_device = pipe(**self.get_dummy_inputs(torch_device))[0]
304+
self.assertTrue(np.isnan(to_np(output_device)).sum() == 0)
305305

306306
def test_to_dtype(self):
307307
components = self.get_dummy_components()

0 commit comments

Comments
 (0)