Skip to content
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

Add NEON implementation of Fused8BitRowwiseQuantizedSBFloatToFloatOrHalf #3707

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Nicoshev
Copy link
Contributor

Summary:
QuantUtilsNeon.cc has been introduced, Fused8BitRowwiseQuantizedSBFloatToFloatOrHalfNeon implemented as first function

We have observed a ~x12 performance improvement for the downcasting case.
The case where a float32_t is returned maintains the same speed:

Full results:

before:

P1732996851

after:

P1732996401

Differential Revision: D69573878

@facebook-github-bot
Copy link
Contributor

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

Copy link

netlify bot commented Feb 18, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 09852aa
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/67b63a5fa10a8c0009927e2b
😎 Deploy Preview https://deploy-preview-3707--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Nicoshev added a commit to Nicoshev/FBGEMM that referenced this pull request Feb 18, 2025
…alf (pytorch#3707)

Summary:
X-link: facebookresearch/FBGEMM#789


QuantUtilsNeon.cc has been introduced, Fused8BitRowwiseQuantizedSBFloatToFloatOrHalfNeon implemented as first function

We have observed a ~x12 performance improvement for the downcasting case.
The case where a float32_t is returned maintains the same speed:

Full results:

before:

P1732996851

after:

P1732996401

Differential Revision: D69573878
@facebook-github-bot
Copy link
Contributor

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

Nicoshev added a commit to Nicoshev/FBGEMM that referenced this pull request Feb 18, 2025
…alf (pytorch#3707)

Summary:
X-link: facebookresearch/FBGEMM#789


QuantUtilsNeon.cc has been introduced, Fused8BitRowwiseQuantizedSBFloatToFloatOrHalfNeon implemented as first function

We have observed a ~x12 performance improvement for the downcasting case.
The case where a float32_t is returned maintains the same speed:

Full results:

before:

P1732996851

after:

P1732996401

Differential Revision: D69573878
@facebook-github-bot
Copy link
Contributor

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

Nicoshev added a commit to Nicoshev/FBGEMM that referenced this pull request Feb 18, 2025
…alf (pytorch#3707)

Summary:
X-link: facebookresearch/FBGEMM#789


QuantUtilsNeon.cc has been introduced, Fused8BitRowwiseQuantizedSBFloatToFloatOrHalfNeon implemented as first function

We have observed a ~x12 performance improvement for the downcasting case.
The case where a float32_t is returned maintains the same speed:

Full results:

before:

P1732996851

after:

P1732996401

Differential Revision: D69573878
@facebook-github-bot
Copy link
Contributor

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

Nicoshev added a commit to Nicoshev/FBGEMM that referenced this pull request Feb 18, 2025
…alf (pytorch#3707)

Summary:
X-link: facebookresearch/FBGEMM#789


QuantUtilsNeon.cc has been introduced, Fused8BitRowwiseQuantizedSBFloatToFloatOrHalfNeon implemented as first function

We have observed a ~x12 performance improvement for the downcasting case.
The case where a float32_t is returned maintains the same speed:

Full results:

before:

P1732996851

after:

P1732996401

Differential Revision: D69573878
@facebook-github-bot
Copy link
Contributor

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

Nicoshev added a commit to Nicoshev/FBGEMM that referenced this pull request Feb 18, 2025
…alf (pytorch#3707)

Summary:
X-link: facebookresearch/FBGEMM#789


QuantUtilsNeon.cc has been introduced, Fused8BitRowwiseQuantizedSBFloatToFloatOrHalfNeon implemented as first function

We have observed a ~x12 performance improvement for the downcasting case.
The case where a float32_t is returned maintains the same speed:

Full results:

before:

P1732996851

after:

P1732996401

Differential Revision: D69573878
@facebook-github-bot
Copy link
Contributor

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

Nicoshev added a commit to Nicoshev/FBGEMM that referenced this pull request Feb 18, 2025
…alf (pytorch#3707)

Summary:
X-link: facebookresearch/FBGEMM#789


QuantUtilsNeon.cc has been introduced, Fused8BitRowwiseQuantizedSBFloatToFloatOrHalfNeon implemented as first function

We have observed a ~x12 performance improvement for the downcasting case.
The case where a float32_t is returned maintains the same speed:

Full results:

before:

P1732996851

after:

P1732996401

Differential Revision: D69573878
@facebook-github-bot
Copy link
Contributor

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

Summary:
X-link: facebookresearch/FBGEMM#788


We are adding this benchmark to measure performance of Fused8BitRowwiseQuantizedSBFloatToFloatOrHalf

Differential Revision: D69670176
…alf (pytorch#3707)

Summary:
X-link: facebookresearch/FBGEMM#789


QuantUtilsNeon.cc has been introduced, Fused8BitRowwiseQuantizedSBFloatToFloatOrHalfNeon implemented as first function

We have observed a ~x12 performance improvement for the downcasting case.
The case where a float32_t is returned maintains the same speed:

Full results:

before:

P1732996851

after:

P1732996401

Differential Revision: D69573878
@facebook-github-bot
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants