Uh oh!
There was an error while loading. Please reload this page.
[ExecuTorch][WebGPU] Preserve Linear and Q4 embedding params across dynamic resize - #21482
[ExecuTorch][WebGPU] Preserve Linear and Q4 embedding params across dynamic resize#21482JCNTH wants to merge 1 commit into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21482
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 82 PendingAs of commit b2d4cd6 with merge base 8200b9e ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a |
Stack from ghstack (oldest at bottom):
Preserve immutable Linear and Q4 embedding shader controls across dynamic resize through typed parameter authorities.
Problem
The Linear resize hook dropped has_bias, and the Q4 embedding resize path could drop is_linear_weight. Both defects produced correct build-time outputs but silently changed semantics after a live shape update.
Solution
Implementation
Constraints
WGSL bytes, shader selection, bindings, uniform sizes, queue-write counts, dispatch formulas, and pipeline topology are unchanged. Production handler code is smaller because duplicated field population and scalar captures are removed.
Co-authored-with: Claude Code.
Differential Revision: D113992326