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

Fix quant_primitive dtype that caused perf regression #253

Merged
merged 2 commits into from
May 18, 2024

Conversation

jerryzh168
Copy link
Contributor

Summary:
API call in quantize_activation_per_token_absmax is not exactly preserving the original code, this PR fixes that

Test Plan:
need to check perf with torchbenchmarks

Reviewers:

Subscribers:

Tasks:

Tags:

Copy link

pytorch-bot bot commented May 17, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/253

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 0219109 with merge base 5741aa2 (image):

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 May 17, 2024
Summary:
API call in quantize_activation_per_token_absmax is not exactly preserving the original
code, this PR fixes that

Test Plan:
need to check perf with torchbenchmarks

Reviewers:

Subscribers:

Tasks:

Tags:
Copy link
Contributor

@HDCharles HDCharles left a comment

Choose a reason for hiding this comment

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

looks good

@jerryzh168 jerryzh168 merged commit e9e5fae into pytorch:main May 18, 2024
12 of 13 checks passed
@jerryzh168 jerryzh168 deleted the fix-quant-primitive branch May 18, 2024 03:35
dbyoung18 pushed a commit to dbyoung18/ao that referenced this pull request Jul 31, 2024
Summary:
API call in quantize_activation_per_token_absmax is not exactly preserving the original
code, this PR fixes that

Test Plan:
need to check perf with torchbenchmarks

Reviewers:

Subscribers:

Tasks:

Tags:
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