Skip to content

Introduce MultimethodLoraConfig#17461

Closed
pytorchbot wants to merge 3 commits intogh/lucylq/133/basefrom
gh/lucylq/133/orig
Closed

Introduce MultimethodLoraConfig#17461
pytorchbot wants to merge 3 commits intogh/lucylq/133/basefrom
gh/lucylq/133/orig

Conversation

@pytorchbot
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: #17230 by @lucylq
^ 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/lucylq/133/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/133/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/lucylq/132/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/133/orig
Differential Revision: D92315627
@diff-train-skip-merge

Github Executorch added 3 commits February 13, 2026 13:20
Pull Request resolved: #17228

Specify which method to call in the runner.

ghstack-source-id: 340390608
@exported-using-ghexport

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

Introduce LoraConfig to hold lora parameters such as:
- checkpoint
- rank
- target_modules (e.g. q_proj, k_proj, v_proj, up_proj, down_proj, gate_proj, o_proj)
- lora_alpha

LoraConfig validation done post-init. LoraConfig can be created with config.json file.

Update cases of export_llama_lib to use LoraConfig instead of adapter_checkpoint and adapter_config.

NOTE: we may need to extend this to support more customizable features like lora config per layer etc. cc @hakanb

ghstack-source-id: 340930093
@exported-using-ghexport

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

MultimethodLoraConfig; collects together method name and lora config.

ghstack-source-id: 341143477
@exported-using-ghexport

Differential Revision: [D92315627](https://our.internmc.facebook.com/intern/diff/D92315627/)
@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 Feb 13, 2026
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Feb 14, 2026

🔗 Helpful Links

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

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

❌ 3 New Failures

As of commit 76fdcf1 with merge base aa2f683 (image):

NEW FAILURES - The following jobs have failed:

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

@SS-JIA SS-JIA changed the base branch from gh/lucylq/132/orig to main February 18, 2026 15:24
@SS-JIA SS-JIA requested a review from lucylq as a code owner February 18, 2026 15:24
@SS-JIA SS-JIA changed the base branch from main to gh/lucylq/133/base February 18, 2026 15:25
@lucylq
Copy link
Copy Markdown
Contributor

lucylq commented Feb 18, 2026

this stack is landed to main already, closing.

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants