Skip to content

Conversation

@ahmtox
Copy link
Contributor

@ahmtox ahmtox commented Jun 4, 2025

Creating quantize_per_token testing framework along with a reference implementation for testing

Differential Revision: [D75607854](https://our.internmc.facebook.com/intern/diff/D75607854/)

[ghstack-poisoned]
@ahmtox ahmtox requested a review from SS-JIA as a code owner June 4, 2025 18:03
@pytorch-bot
Copy link

pytorch-bot bot commented Jun 4, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 1 Cancelled Job

As of commit 5b51132 with merge base 8cfa858 (image):

NEW FAILURE - The following job has failed:

CANCELLED JOB - The following job was cancelled. Please retry:

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

@facebook-github-bot
Copy link
Contributor

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

Creating quantize_per_token testing framework along with a reference implementation for testing

Differential Revision: [D75607854](https://our.internmc.facebook.com/intern/diff/D75607854/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

Creating quantize_per_token testing framework along with a reference implementation for testing

Differential Revision: [D75607854](https://our.internmc.facebook.com/intern/diff/D75607854/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

Creating quantize_per_token testing framework along with a reference implementation for testing

Differential Revision: [D75607854](https://our.internmc.facebook.com/intern/diff/D75607854/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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


TEST(
VulkanQuantizePerTensorTest,
test_reference_quantize_per_token_float_to_int8) {
Copy link
Contributor

Choose a reason for hiding this comment

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

please add tests where the input is half, and also where the output is uint8 or int32 (supported dtypes IIUC)

Creating quantize_per_token testing framework along with a reference implementation for testing

Differential Revision: [D75607854](https://our.internmc.facebook.com/intern/diff/D75607854/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

@ahmtox ahmtox added the release notes: vulkan Changes to the Vulkan backend delegate label Jun 11, 2025
Creating quantize_per_token testing framework along with a reference implementation for testing

Differential Revision: [D75607854](https://our.internmc.facebook.com/intern/diff/D75607854/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

Creating quantize_per_token testing framework along with a reference implementation for testing

Differential Revision: [D75607854](https://our.internmc.facebook.com/intern/diff/D75607854/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

Creating quantize_per_token testing framework along with a reference implementation for testing

Differential Revision: [D75607854](https://our.internmc.facebook.com/intern/diff/D75607854/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

Creating quantize_per_token testing framework along with a reference implementation for testing

Differential Revision: [D75607854](https://our.internmc.facebook.com/intern/diff/D75607854/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

Creating quantize_per_token testing framework along with a reference implementation for testing

Differential Revision: [D75607854](https://our.internmc.facebook.com/intern/diff/D75607854/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

Creating quantize_per_token testing framework along with a reference implementation for testing

Differential Revision: [D75607854](https://our.internmc.facebook.com/intern/diff/D75607854/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

Creating quantize_per_token testing framework along with a reference implementation for testing

Differential Revision: [D75607854](https://our.internmc.facebook.com/intern/diff/D75607854/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

Creating quantize_per_token testing framework along with a reference implementation for testing

Differential Revision: [D75607854](https://our.internmc.facebook.com/intern/diff/D75607854/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

Creating quantize_per_token testing framework along with a reference implementation for testing

Differential Revision: [D75607854](https://our.internmc.facebook.com/intern/diff/D75607854/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot merged commit 999044f into gh/ahmtox/9/base Jun 14, 2025
95 of 98 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/ahmtox/9/head branch June 14, 2025 03:46
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. fb-exported release notes: vulkan Changes to the Vulkan backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants