Skip to content

Introduce LoraConfig#17436

Merged
lucylq merged 1 commit intogh/lucylq/131/origfrom
gh/lucylq/132/orig
Feb 13, 2026
Merged

Introduce LoraConfig#17436
lucylq merged 1 commit intogh/lucylq/131/origfrom
gh/lucylq/132/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: #17229 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/132/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/132/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/lucylq/131/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/132/orig
Differential Revision: D92304723
@diff-train-skip-merge

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/)
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Feb 13, 2026

🔗 Helpful Links

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

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

❌ 2 New Failures, 1 Cancelled Job

As of commit 30a0658 with merge base aa2f683 (image):

NEW FAILURES - The following jobs have failed:

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

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

@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
@lucylq lucylq merged commit 390ef3a into gh/lucylq/131/orig Feb 13, 2026
335 of 339 checks passed
@lucylq lucylq deleted the gh/lucylq/132/orig branch February 13, 2026 17:13
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