Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wz1qqx committed May 10, 2023
1 parent e71847f commit 1d2508f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/xpu/test_batch_norm_op_xpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ def __init__(self):
self.op_name = 'batch_norm'
self.use_dynamic_create_class = False

@unittest.skipIf(
not paddle.is_compiled_with_xpu(), "core is not compiled with XPU"
)
class TestBatchNormOp(unittest.TestCase):
def setUp(self):
self.op_type = "batch_norm"
Expand Down Expand Up @@ -304,9 +307,6 @@ def __init__(self):
self.op_name = 'batch_norm'
self.use_dynamic_create_class = False

@unittest.skipIf(
not paddle.is_compiled_with_xpu(), "core is not compiled with XPU"
)
class TestBatchNormGradOp(unittest.TestCase):
def setUp(self):
self.op_type = "batch_norm"
Expand Down

0 comments on commit 1d2508f

Please sign in to comment.