Skip to content

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

Merged
merged 19 commits into from
Aug 13, 2025
Merged

Add coreml quant recipes #13265

merged 19 commits into from
Aug 13, 2025

Conversation

abhinaykukkadapu
Copy link
Contributor

@abhinaykukkadapu abhinaykukkadapu commented Aug 10, 2025

Adds coreml quant recipes after FP32/16 recipes added in #13121

Recipes added:

  1. PT2E_INT8_STATIC
  2. PT2E_INT8_WEIGHT_ONLY
  3. INT4_WEIGHT_ONLY_PER_CHANNEL
  4. INT4_WEIGHT_ONLY_PER_GROUP
  5. INT8_WEIGHT_ONLY_PER_CHANNEL
  6. INT8_WEIGHT_ONLY_PER_GROUP
  7. CODEBOOK_WEIGHT_ONLY

[ghstack-poisoned]
[ghstack-poisoned]
@abhinaykukkadapu
Copy link
Contributor Author

abhinaykukkadapu commented Aug 10, 2025

Copy link

pytorch-bot bot commented Aug 10, 2025

🔗 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.

❌ 4 New Failures, 7 Pending, 2 Unrelated Failures

As of commit 3bd2fe0 with merge base 0e76a97 (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following jobs 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.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 10, 2025
abhinaykukkadapu added a commit that referenced this pull request Aug 10, 2025
ghstack-source-id: 1bb73e0
ghstack-comment-id: 3172341606
Pull-Request: #13265
[ghstack-poisoned]
abhinaykukkadapu added a commit that referenced this pull request Aug 10, 2025
ghstack-source-id: 76f6fc8
ghstack-comment-id: 3172341606
Pull-Request: #13265
@abhinaykukkadapu abhinaykukkadapu requested review from kimishpatel and metascroy and removed request for shoumikhin, cccclai and mcr229 August 10, 2025 03:52
abhinaykukkadapu added a commit that referenced this pull request Aug 10, 2025
ghstack-source-id: 76f6fc8
ghstack-comment-id: 3172341606
Pull-Request: #13265
[ghstack-poisoned]
abhinaykukkadapu added a commit that referenced this pull request Aug 10, 2025
ghstack-source-id: d147f71
ghstack-comment-id: 3172341606
Pull-Request: #13265
[ghstack-poisoned]
abhinaykukkadapu added a commit that referenced this pull request Aug 11, 2025
ghstack-source-id: cdcd86d
ghstack-comment-id: 3172341606
Pull-Request: #13265
[ghstack-poisoned]
[ghstack-poisoned]
abhinaykukkadapu added a commit that referenced this pull request Aug 12, 2025
ghstack-source-id: 6efef94
ghstack-comment-id: 3172341606
Pull-Request: #13265
[ghstack-poisoned]
[ghstack-poisoned]
abhinaykukkadapu added a commit that referenced this pull request Aug 12, 2025
ghstack-source-id: 6480fae
ghstack-comment-id: 3172341606
Pull-Request: #13265
[ghstack-poisoned]
[ghstack-poisoned]
abhinaykukkadapu added a commit that referenced this pull request Aug 12, 2025
ghstack-source-id: bf6c618
ghstack-comment-id: 3172341606
Pull-Request: #13265
[ghstack-poisoned]
[ghstack-poisoned]
abhinaykukkadapu added a commit that referenced this pull request Aug 13, 2025
ghstack-source-id: c2f2a36
ghstack-comment-id: 3172341606
Pull-Request: #13265
Base automatically changed from gh/abhinaykukkadapu/4/head to main August 13, 2025 01:11
@abhinaykukkadapu abhinaykukkadapu merged commit 310a05d into main Aug 13, 2025
103 of 130 checks passed
@abhinaykukkadapu abhinaykukkadapu deleted the gh/abhinaykukkadapu/5/head branch August 13, 2025 01:11
swolchok added a commit that referenced this pull request Aug 13, 2025
…13264)" and "Add coreml quant recipes (#13265)"

This reverts commit 0a7cea8 and
310a05d. It appears that #13264 broke
unittest jobs and #13265 depends on it.


ghstack-source-id: 6a7d30c
ghstack-comment-id: 3184642863
Pull-Request: #13374
swolchok added a commit that referenced this pull request Aug 13, 2025
…13264)" and "Add coreml quant recipes (#13265)" (#13374)

This reverts commit 0a7cea8 and
310a05d. It appears that #13264 broke
unittest jobs and #13265 depends on it.
abhinaykukkadapu added a commit that referenced this pull request Aug 13, 2025
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]
abhinaykukkadapu added a commit that referenced this pull request Aug 13, 2025
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-source-id: 302827577
Pull Request resolved: #13387
abhinaykukkadapu added a commit that referenced this pull request Aug 13, 2025
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]
abhinaykukkadapu added a commit that referenced this pull request Aug 13, 2025
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]
abhinaykukkadapu added a commit that referenced this pull request Aug 13, 2025
Pull Request resolved: #13387

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
ghstack-source-id: 302842396
@exported-using-ghexport

Differential Revision: [D80206542](https://our.internmc.facebook.com/intern/diff/D80206542/)
abhinaykukkadapu added a commit that referenced this pull request Aug 13, 2025
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]
abhinaykukkadapu added a commit that referenced this pull request Aug 13, 2025
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]
abhinaykukkadapu added a commit that referenced this pull request Aug 13, 2025
Pull Request resolved: #13387

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
ghstack-source-id: 302857006
@exported-using-ghexport

Differential Revision: [D80206542](https://our.internmc.facebook.com/intern/diff/D80206542/)
abhinaykukkadapu added a commit that referenced this pull request Aug 13, 2025
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]
abhinaykukkadapu added a commit that referenced this pull request Aug 13, 2025
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]
abhinaykukkadapu added a commit that referenced this pull request Aug 13, 2025
Pull Request resolved: #13387

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
ghstack-source-id: 302870102
@exported-using-ghexport

Differential Revision: [D80206542](https://our.internmc.facebook.com/intern/diff/D80206542/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants