Skip to content

Refactor LoRAFeedForward.forward to use shared lora_call (#20831)#20831

Merged
meta-codesync[bot] merged 1 commit into
pytorch:mainfrom
derekdixu:export-D110890567
Jul 10, 2026
Merged

Refactor LoRAFeedForward.forward to use shared lora_call (#20831)#20831
meta-codesync[bot] merged 1 commit into
pytorch:mainfrom
derekdixu:export-D110890567

Conversation

@derekdixu

@derekdixu derekdixu commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary:

Replace inline _call closure with lora_call from lora.py,
deduplicating the LoRA dispatch logic.

Reviewed By: billmguo

Differential Revision: D110890567

Signed-off-by: Di Xu (SWE) dixu@meta.com

@pytorch-bot

pytorch-bot Bot commented Jul 10, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit fcf807e with merge base ec52125 (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@linux-foundation-easycla

linux-foundation-easycla Bot commented Jul 10, 2026

Copy link
Copy Markdown

CLA Missing ID

  • ❌ The email address for the commit (fcf807e) is not linked to the GitHub account, preventing the EasyCLA check. Consult this Help Article and GitHub Help to resolve. (To view the commit's email address, add .patch at the end of this PR page's URL.) For further assistance with EasyCLA, please visit our EasyCLA portal and chat with our support bot.

@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 Jul 10, 2026
@meta-codesync

meta-codesync Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

@derekdixu has exported this pull request. If you are a Meta employee, you can view the originating Diff in D110890567.

@derekdixu

Copy link
Copy Markdown
Contributor Author

@pytorchbot label "release notes: none"

@pytorch-bot pytorch-bot Bot added the release notes: none Do not include this in the release notes label Jul 10, 2026
Summary:
Pull Request resolved: pytorch#20831

Replace inline `_call` closure with `lora_call` from `lora.py`,
deduplicating the LoRA dispatch logic.

Reviewed By: billmguo

Differential Revision: D110890567
Signed-off-by: Di Xu (SWE) <dixu@meta.com>
@meta-codesync meta-codesync Bot changed the title Refactor LoRAFeedForward.forward to use shared lora_call Refactor LoRAFeedForward.forward to use shared lora_call (#20831) Jul 10, 2026
@derekdixu derekdixu force-pushed the export-D110890567 branch from a488929 to fcf807e Compare July 10, 2026 17:27
@meta-codesync meta-codesync Bot merged commit f3daa57 into pytorch:main Jul 10, 2026
196 of 198 checks passed
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. meta-exported release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants