Skip to content

Add per_tensor overload for quantized_layer_norm #6554

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

Merged
merged 1 commit into from
Nov 2, 2024

Conversation

mcremon-meta
Copy link
Contributor

Summary: This will improve performance by removing some full ops

Differential Revision: D65151427

Copy link

pytorch-bot bot commented Oct 29, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 25d848b with merge base c4b4e98 (image):
💚 Looks good so far! There are no failures yet. 💚

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 Oct 29, 2024
@facebook-github-bot
Copy link
Contributor

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

mcremon-meta added a commit that referenced this pull request Oct 29, 2024
Summary:

This will improve performance by removing some `full` ops

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

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

Comment on lines +192 to +195
ET_CHECK_MSG(
false,
"Unhandled input dtype %hhd",
static_cast<int8_t>(input.scalar_type()));
Copy link
Contributor

Choose a reason for hiding this comment

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

Use ET_KERNEL_CHECK instead for better error messages

Suggested change
ET_CHECK_MSG(
false,
"Unhandled input dtype %hhd",
static_cast<int8_t>(input.scalar_type()));
ET_KERNEL_CHECK(
context,
false,
InvalidArgument,
out);

facebook-github-bot pushed a commit that referenced this pull request Oct 31, 2024
Summary:

This will improve performance by removing some `full` ops

Reviewed By: dulinriley

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

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

mcremon-meta added a commit that referenced this pull request Oct 31, 2024
Summary:

This will improve performance by removing some `full` ops

Reviewed By: dulinriley

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

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

Summary:

This will improve performance by removing some `full` ops

Reviewed By: dulinriley

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

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

@facebook-github-bot facebook-github-bot merged commit f2c7700 into main Nov 2, 2024
39 of 41 checks passed
@facebook-github-bot facebook-github-bot deleted the export-D65151427 branch November 2, 2024 00:05
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants