Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
  • Loading branch information
wangjiangben-hw and zhouzaida committed Sep 30, 2022
1 parent 4ce938c commit ea1d8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ops/test_focal_loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def test_sigmoid_float(self, device):
pytest.param(
'npu',
marks=pytest.mark.skipif(
not IS_CUDA_AVAILABLE, reason='requires NPU support')),
not IS_NPU_AVAILABLE, reason='requires NPU support')),
pytest.param(
'cuda',
marks=pytest.mark.skipif(
Expand Down

0 comments on commit ea1d8f8

Please sign in to comment.