Have you tried the method merge_and_unload from PeftModel ad shown in this thread Help with merging LoRA weights back into base model :-) - #7 by accOne996795
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| I wonder how to merge my PEFT adapter with the base model and finally get a new whole model? | 27 | 1798 | February 7, 2025 | |
| Cannot Merge Lora weights back to the base model | 8 | 564 | October 29, 2024 | |
| Help with merging LoRA weights back into base model :-) | 11 | 72783 | February 6, 2025 | |
| How do I merge a lora adapter back into the model weights? | 1 | 3236 | August 23, 2023 | |
| Merging in successive loras to a base model | 2 | 1371 | October 25, 2024 |