Skip to content

Commit ebe4911

Browse files
authored
Executorch ops fail to build on macbook M1 due to bad formatting
Differential Revision: D65156573 Pull Request resolved: #6578
1 parent c4b4e98 commit ebe4911

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kernels/quantized/cpu/embeddingxb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ void check_embedding_xbit_args(
134134
for (int32_t i = 0; i < weight_scales.dim(); ++i) {
135135
ET_CHECK_MSG(
136136
opt_weight_zero_points.value().size(i) == weight_scales.size(i),
137-
"Dimension size misatch at dim %" PRId8
137+
"Dimension size misatch at dim %" PRIi32
138138
"Weight_zero_point size = %zd"
139139
", weight_scales size = %zd.",
140140
i,

kernels/quantized/cpu/op_embedding.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void check_embedding_byte_args(
9393
for (int32_t i = 0; i < weight_scales.dim(); ++i) {
9494
ET_CHECK_MSG(
9595
opt_weight_zero_points.value().size(i) == weight_scales.size(i),
96-
"Dimension size misatch at dim %" PRId8
96+
"Dimension size misatch at dim %" PRIi32
9797
"Weight_zero_point size = %zd"
9898
", weight_scales size = %zd.",
9999
i,

0 commit comments

Comments
 (0)