Skip to content

Commit 6e51247

Browse files
committed
fix
1 parent c04a10c commit 6e51247

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

test/deprecated/quantization/test_quantization_onednn_pass_deprecated.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import numpy as np
2020

2121
import paddle
22-
from paddle.base.framework import IrGraph, _current_expected_place
22+
from paddle.base.framework import IrGraph
2323
from paddle.framework import core
2424
from paddle.static.quantization import (
2525
QuantInt8OnednnPass,
@@ -60,10 +60,6 @@ def conv_net(img, label):
6060
return avg_loss
6161

6262

63-
@unittest.skipIf(
64-
not isinstance(_current_expected_place(), core.CPUPlace),
65-
"OneDNN supports only CPU for now",
66-
)
6763
class TestONEDNNTransformBasedFreezePass(unittest.TestCase):
6864
def setUp(self):
6965
self.quantizable_op_and_inputs = {

0 commit comments

Comments
 (0)