Skip to content

Commit f38581d

Browse files
committed
Update on "Add update_quantized_cache op"
Why? - ton of copies due to functionalization - mutable buffer support without such custom inplace ops will results in giant copies at the end - Making inplace ops work will likely take longer and not clear safe path Differential Revision: [D62301838](https://our.internmc.facebook.com/intern/diff/D62301838/) [ghstack-poisoned]
2 parents 7a94bd4 + 4673200 commit f38581d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernels/quantized/cpu/op_choose_qparams.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ void check_quantize_per_tensor_args(
7373
}
7474
ET_CHECK_MSG(
7575
scale_out.size(input.dim() - 1) == 1,
76-
"Exepcted scale to have only one element at dimentions %ld but got %zd",
76+
"Exepcted scale to have only one element at dimentions %zd but got %zd",
7777
input.dim() - 1,
7878
scale_out.size(input.dim() - 1));
7979
ET_CHECK_MSG(
8080
zero_point_out.size(input.dim() - 1) == 1,
81-
"Exepcted zero point to have only one element at dimentions %ld but got %zd",
81+
"Exepcted zero point to have only one element at dimentions %zd but got %zd",
8282
input.dim() - 1,
8383
zero_point_out.size(input.dim() - 1));
8484
} else {

0 commit comments

Comments
 (0)