Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backends/xnnpack/partition/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
DeQuantizedPerTensorConfig,
DivConfig,
# EluConfig,
# ExpConfig, # Bug in XNNPACK with exp op
ExpConfig,
FloorConfig,
GeluConfig,
HardswishConfig,
Expand Down Expand Up @@ -81,7 +81,7 @@
ClampConfig,
DivConfig,
# EluConfig, # Waiting for PyTorch Pin Update
# ExpConfig, # Bug in XNNPACK with exp op
ExpConfig,
FloorConfig,
GeluConfig,
HardtanhConfig,
Expand Down
2 changes: 1 addition & 1 deletion backends/xnnpack/partition/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
exir_ops.edge.aten.sigmoid.default,
exir_ops.edge.aten._softmax.default,
exir_ops.edge.aten.cat.default,
# exir_ops.edge.aten.exp.default, # Bug in XNNPACK with exp op
exir_ops.edge.aten.exp.default,
exir_ops.edge.aten.elu.default,
exir_ops.edge.aten.avg_pool2d.default,
exir_ops.edge.aten.leaky_relu.default,
Expand Down
2 changes: 0 additions & 2 deletions backends/xnnpack/test/ops/test_exp.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,10 @@ def run_exp_test(self, inputs):
.run_method_and_compare_outputs()
)

@unittest.skip("D76283309, bug to fix")
def test_fp16_exp(self):
inputs = (torch.randn(20).to(torch.float16),)
self.run_exp_test(inputs)

@unittest.skip("D76283309, bug to fix")
def test_fp32_exp(self):
inputs = (torch.randn(20),)
self.run_exp_test(inputs)
Loading