pytorch
2e817103 - [Quant] Add initial Executorch BackendConfig (#85527)

Commit
2 years ago
[Quant] Add initial Executorch BackendConfig (#85527) Summary: This commit adds the initial BackendConfig for backends PyTorch lowers to through the Executorch stack. This initial version is only intended to cover the following set of ops: quantized::linear_dynamic, quantized::add, quantized::batch_norm2d, quantized::conv2d.new, quantized::linear, quantized::conv2d_relu.new, aten::relu_, aten::_adaptive_avg_pool2d, aten::_reshape_alias_copy, aten::squeeze.dim, aten::permute For now, the `BackendPatternConfig` for each of these ops is the same as the ones for the corresponding ops in the FBGEMM `BackendConfig`, though this may change in the future. Reviewers: jerryzh168, vkuzo Subscribers: jerryzh168, vkuzo Pull Request resolved: https://github.com/pytorch/pytorch/pull/85527 Approved by: https://github.com/jerryzh168
Author
Committer
Parents
Loading