Skip to content

[ET-VK][int4] patch 4-bit linear op for ensuring w-packed in/out #8253

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 2 commits into from
Feb 6, 2025

Conversation

pytorchbot
Copy link
Collaborator

@pytorchbot pytorchbot commented Feb 6, 2025

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #8225
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/nathanaelsee/2/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/nathanaelsee/2/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/nathanaelsee/1/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/nathanaelsee/2/orig
@diff-train-skip-merge

cc @SS-JIA @manuelcandales

Nathanael See added 2 commits February 5, 2025 16:56
…linear modules with biases

Pull Request resolved: #8224

While LLaMa does not have biases, there are some models which will have biases in their linear modules.

Add support in the source transform quantizer for biases.
ghstack-source-id: 264952608
@exported-using-ghexport

Differential Revision: [D69072087](https://our.internmc.facebook.com/intern/diff/D69072087/)
Pull Request resolved: #8225

If the partitioner is using channels-packed setting for activations, then the checks will throw.

Remove the checks and conditionally re-pack the input/output tensors if they are not width-packed.
ghstack-source-id: 264952605
@exported-using-ghexport

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

pytorch-bot bot commented Feb 6, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

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

❌ 1 New Failure

As of commit 65117d5 with merge base 7805229 (image):

NEW FAILURE - The following job has failed:

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 Feb 6, 2025
@digantdesai digantdesai added the module: vulkan Issues related to the Vulkan delegate and code under backends/vulkan/ label Feb 6, 2025
Base automatically changed from gh/nathanaelsee/1/orig to main February 6, 2025 06:22
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. module: vulkan Issues related to the Vulkan delegate and code under backends/vulkan/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants