-
Notifications
You must be signed in to change notification settings - Fork 646
Add coreml quant recipes #13265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: gh/abhinaykukkadapu/4/head
Are you sure you want to change the base?
Add coreml quant recipes #13265
Conversation
Stack from ghstack (oldest at bottom): |
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13265
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 Cancelled Job, 1 Unrelated FailureAs of commit e33390f with merge base a84b3c9 ( NEW FAILURE - The following job has failed:
BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
) | ||
elif recipe_type == CoreMLRecipeType.INT4_WEIGHT_ONLY_PER_GROUP: | ||
group_size = kwargs.pop("group_size", 32) | ||
return self._build_torchao_quantized_recipe( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the compute precision used in these quantization recipes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@metascroy It is FLOAT16, see _get_coreml_lowering_recipe
function defaults.
Adds coreml quant recipes after FP32/16 recipes added in #13121
Recipes added: