Skip to content

Commit 7349bb5

Browse files
authored
Cadence ops: Add in singleton tensor default variants
Differential Revision: D84842582 Pull Request resolved: pytorch#15199
1 parent 8946d80 commit 7349bb5

File tree

3 files changed

+319
-68
lines changed

3 files changed

+319
-68
lines changed

backends/cadence/aot/ops_registrations.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,10 @@ def _validate_ref_impl_exists() -> None:
5353
# 1. be removed
5454
# 2. have a reference implementation added to ref_implementations.py
5555
_WARN_ONLY = {
56-
"cadence::quantized_add", # We should only support per_tensor variant, should remove
5756
"cadence::_softmax_f32_f32",
58-
"cadence::requantize", # We should only support per_tensor variant, should remove
5957
"cadence::quantized_softmax.per_tensor",
60-
"cadence::quantized_conv2d_nchw", # We should only support per_tensor variant, should remove
61-
"cadence::quantized_relu", # We should only support per_tensor variant, should remove
62-
"cadence::quantized_conv2d_nhwc", # We should only support per_tensor variant, should remove
6358
"cadence::quantized_softmax",
6459
"cadence::quantized_w8a32_gru",
65-
"cadence::quantized_layer_norm", # We should only support per_tensor variant, should remove
6660
}
6761

6862
ref_impls = get_registered_ref_implementations()

0 commit comments

Comments
 (0)