pytorch / executorch

On-device AI across mobile, embedded and edge for PyTorch
https://pytorch.org/executorch/
Other
2.22k stars 368 forks source link

Minor perf improvements to quantized linear 8 bit shader. #6944

Closed trivedivivek closed 4 days ago

trivedivivek commented 6 days ago

Summary: This diff slightly improves the performance of quantized linear op by reducing few heavy math ops such as mod and divide.

Differential Revision: D66134239

pytorch-bot[bot] commented 6 days ago

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/6944

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

:heavy_exclamation_mark: 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

:x: 1 New Failure

As of commit 6f76a0bb6c609b8443008dd750fadeb57f5d338f with merge base bafae87bf539391b8c833cceb909dfc919461480 (image):

NEW FAILURE - The following job has failed:

* [Check Labels / Check labels](https://hud.pytorch.org/pr/pytorch/executorch/6944#33291453042) ([gh](https://github.com/pytorch/executorch/actions/runs/11943091956/job/33291453042)) `RuntimeError: Error checking labels: PR does not have required labels`

This comment was automatically generated by Dr. CI and updates every 15 minutes.

facebook-github-bot commented 6 days ago

This pull request was exported from Phabricator. Differential Revision: D66134239

github-actions[bot] commented 6 days ago

This PR needs a release notes: label

If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example @pytorchbot label "topic: not user facing"

For more information, see https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

facebook-github-bot commented 6 days ago

This pull request was exported from Phabricator. Differential Revision: D66134239

facebook-github-bot commented 6 days ago

This pull request was exported from Phabricator. Differential Revision: D66134239

facebook-github-bot commented 5 days ago

This pull request was exported from Phabricator. Differential Revision: D66134239

facebook-github-bot commented 5 days ago

This pull request was exported from Phabricator. Differential Revision: D66134239

facebook-github-bot commented 4 days ago

This pull request was exported from Phabricator. Differential Revision: D66134239