Skip to content

Conversation

@Erik-Lundell
Copy link
Collaborator

@Erik-Lundell Erik-Lundell commented Mar 18, 2025

Change insert_table_ops to support int16 table generation. Insert rescale in insert_table_ops if needed.
Remove guard for int16 on insert_rescales.
The new test shows how the quantizer can be configured to change the quantization of Sigmoid.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

@Erik-Lundell Erik-Lundell added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing labels Mar 18, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Mar 18, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9359

Note: Links to docs will display an error until the docs builds have been completed.

❌ 5 New Failures, 1 Unrelated Failure

As of commit 00f590f with merge base 95d7cce (image):

NEW FAILURES - The following jobs have 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.

@facebook-github-bot facebook-github-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 Mar 18, 2025
Copy link
Contributor

@digantdesai digantdesai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Left some nit comments. rsqrt is next?

@Erik-Lundell
Copy link
Collaborator Author

Thanks for the detailed review Digant! :)

@Erik-Lundell
Copy link
Collaborator Author

LGTM. Left some nit comments. rsqrt is next?

Rsqrt is in the pipeline, but we want to implement it as a special case of pow so we need to get pow done first

Change insert_table_ops to support int16 table generation.
Insert rescale in insert_table_ops if needed.
Remove guard for int16 on insert_rescales.
The new test shows how the quantizer can be configured
to change the quantization of Sigmoid.

Signed-off-by: Erik Lundell <erik.lundell@arm.com>
Change-Id: Ice9e1f2c2db089191df3bd1a22eff0bfe3048520
@digantdesai digantdesai merged commit 78ee0e6 into pytorch:main Mar 21, 2025
158 of 164 checks passed
DannyYuyang-quic pushed a commit to CodeLinaro/executorch that referenced this pull request Apr 2, 2025
Change insert_table_ops to support int16 table generation. Insert
rescale in insert_table_ops if needed.
Remove guard for int16 on insert_rescales.
The new test shows how the quantizer can be configured to change the
quantization of Sigmoid.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

Signed-off-by: Erik Lundell <erik.lundell@arm.com>
@Erik-Lundell Erik-Lundell deleted the int16-tables branch July 31, 2025 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants