Skip to content

Commit b534c50

Browse files
committed
update comment
1 parent 88d289a commit b534c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/utils/testing_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def require_non_cpu(test_case):
342342
Decorator marking a test that requires a hardware accelerator backend. These tests are skipped when there are no
343343
hardware accelerator available.
344344
"""
345-
return unittest.skipUnless(torch_device != "cpu", "test requires a GPU")(test_case)
345+
return unittest.skipUnless(torch_device != "cpu", "test requires a hardware accelerator")(test_case)
346346

347347

348348
def require_torchsde(test_case):

0 commit comments

Comments
 (0)