Skip to content

Commit 4f4f4ed

Browse files
authored
4th-batch-14-条件判断代码逻辑错误 (#75754)
1 parent bac79fe commit 4f4f4ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/amp/test_amp_promote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def test_o2_promote_off(self):
322322
)
323323
@unittest.skipIf(
324324
core.is_compiled_with_cuda()
325-
and not paddle.device.cuda.get_device_capability()[0] < 7.0,
325+
and paddle.device.cuda.get_device_capability()[0] < 7.0,
326326
"run test when gpu's compute capability is at least 7.0.",
327327
)
328328
@unittest.skipIf(

0 commit comments

Comments
 (0)