Skip to content

[executorch][vulkan] Fix dq8ca q4gsw weight sums stride when N % 8 is 1 to 4 - #24545

Open
pytorchbot wants to merge 1 commit into
gh/digantdesai/196/origfrom
gh/digantdesai/197/orig
Open

pytorchbot wants to merge 1 commit into
gh/digantdesai/196/origfrom
gh/digantdesai/197/orig

Conversation

@pytorchbot

@pytorchbot pytorchbot commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #24370 by @digantdesai
^ 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/digantdesai/197/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/digantdesai/197/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/digantdesai/196/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/digantdesai/197/orig

@diff-train-skip-merge

cc @SS-JIA @manuelcandales @digantdesai @cbilgin

… 1 to 4

Pull Request resolved: #24370

`linear_dq8ca_q4gsw_tiled` strode each group's weight sums by `div_up(N, 4)` texels, but the sums are laid out `{groups, align_up(N, 8)}`, as both the ET-VK AOT pass (`compute_per_group_sums`) and Native's `FuseQuantizedLinear` write them. When `div_up(N, 4)` is odd, every group after the first read another row's sums; the shader now strides by `2 * div_up(N, 8)`, which equals the old stride for every other N.

Authored with Claude Code.

@bypass-github-export-checks
@bypass-github-pytorch-ci-checks
@bypass-github-executorch-ci-checks
ghstack-source-id: 463657747
@exported-using-ghexport

Differential Revision: [D128254883](https://our.internmc.facebook.com/intern/diff/D128254883/)
@pytorchbot
pytorchbot requested a review from SS-JIA as a code owner November 3, 2026 21:28
@pytorch-bot

pytorch-bot Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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, 1 Cancelled Job, 2 Unrelated Failures

As of commit e30515d with merge base 0f8e096 (image):

NEW FAILURE - The following job has failed:

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

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

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

@pytorch-bot pytorch-bot Bot added the module: vulkan Issues related to the Vulkan delegate and code under backends/vulkan/ label Nov 3, 2026
@meta-cla meta-cla 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 Nov 3, 2026

This branch was previously deployed

1 inactive deployment
cadence — e30515d3 Deployed Nov 3, 2026 by pytorchbot via hifi5s-op-test / hifi5s #36376
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.

2 participants