Skip to content

Commit 151da12

Browse files
leafs1facebook-github-bot
authored andcommitted
Tests failing for exp op in xnnpack
Differential Revision: D76283309
1 parent c2aa614 commit 151da12

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

backends/xnnpack/partition/config/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
DeQuantizedPerTensorConfig,
2727
DivConfig,
2828
# EluConfig,
29-
ExpConfig,
29+
# ExpConfig,
3030
FloorConfig,
3131
GeluConfig,
3232
HardswishConfig,
@@ -81,7 +81,7 @@
8181
ClampConfig,
8282
DivConfig,
8383
# EluConfig, # Waiting for PyTorch Pin Update
84-
ExpConfig,
84+
# ExpConfig,
8585
FloorConfig,
8686
GeluConfig,
8787
HardtanhConfig,

backends/xnnpack/partition/configs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
exir_ops.edge.aten.sigmoid.default,
6060
exir_ops.edge.aten._softmax.default,
6161
exir_ops.edge.aten.cat.default,
62-
exir_ops.edge.aten.exp.default,
62+
# exir_ops.edge.aten.exp.default,
6363
exir_ops.edge.aten.elu.default,
6464
exir_ops.edge.aten.avg_pool2d.default,
6565
exir_ops.edge.aten.leaky_relu.default,

backends/xnnpack/test/ops/test_exp.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ def run_exp_test(self, inputs):
3535
)
3636

3737
def test_fp16_exp(self):
38-
inputs = (torch.randn(20).to(torch.float16),)
39-
self.run_exp_test(inputs)
38+
pass
39+
# inputs = (torch.randn(20).to(torch.float16),)
40+
# self.run_exp_test(inputs)
4041

4142
def test_fp32_exp(self):
42-
inputs = (torch.randn(20),)
43-
self.run_exp_test(inputs)
43+
pass
44+
# inputs = (torch.randn(20),)
45+
# self.run_exp_test(inputs)

0 commit comments

Comments
 (0)