Fix LGA cache devices and skipped-attention residuals (#22087) - #22087
Fix LGA cache devices and skipped-attention residuals (#22087)#22087YIWENX14 wants to merge 1 commit into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/22087
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 0b61348 with merge base 9a2d135 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@YIWENX14 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D117006258. |
This PR needs a
|
Summary: Make KV-cache indices and sliding-window masks follow the cache device so LGA eager execution works on CUDA. Match RLFormers semantics for attention-skip layers by applying the gated residual to a zero attention branch. Reviewed By: billmguo Differential Revision: D117006258
892ce89 to
0b61348
Compare
Summary:
Make KV-cache indices and sliding-window masks follow the cache device so LGA eager execution works on CUDA. Match RLFormers semantics for attention-skip layers by applying the gated residual to a zero attention branch.
Reviewed By: billmguo
Differential Revision: D117006258