We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daeb966 commit 28a73acCopy full SHA for 28a73ac
tests/pipelines/animatediff/test_animatediff.py
@@ -300,8 +300,8 @@ def test_to_device(self):
300
]
301
self.assertTrue(all(device == torch_device for device in model_devices))
302
303
- output_cuda = pipe(**self.get_dummy_inputs(torch_device))[0]
304
- self.assertTrue(np.isnan(to_np(output_cuda)).sum() == 0)
+ output_device = pipe(**self.get_dummy_inputs(torch_device))[0]
+ self.assertTrue(np.isnan(to_np(output_device)).sum() == 0)
305
306
def test_to_dtype(self):
307
components = self.get_dummy_components()
0 commit comments