Skip to content

Commit d95714f

Browse files
Update on "[executorch] Add coreml quant recipes"
Fixing tests for stack that got reverted: #13265 Adds coreml quant recipes after FP32/16 recipes added in #13121 Recipes added: PT2E_INT8_STATIC PT2E_INT8_WEIGHT_ONLY INT4_WEIGHT_ONLY_PER_CHANNEL INT4_WEIGHT_ONLY_PER_GROUP INT8_WEIGHT_ONLY_PER_CHANNEL INT8_WEIGHT_ONLY_PER_GROUP CODEBOOK_WEIGHT_ONLY Differential Revision: [D80206542](https://our.internmc.facebook.com/intern/diff/D80206542/) [ghstack-poisoned]
2 parents 751393b + da96359 commit d95714f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/xnnpack/test/recipes/test_xnnpack_recipes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def forward(self, x) -> torch.Tensor:
155155
session, example_inputs, 1e-3
156156
)
157157
self._compare_eager_unquantized_model_outputs(
158-
session, model, example_inputs
158+
session, model, example_inputs, 15
159159
)
160160

161161
def _get_recipe_for_quant_type(self, quant_type: QuantType) -> XNNPackRecipeType:

0 commit comments

Comments
 (0)