Skip to content

How to use peft for LoRA ensemble #1945

Answered by BenjaminBossan
DongxiaW asked this question in Q&A
Discussion options

You must be logged in to vote

No, this is not possible. You can load multiple LoRA adapters and then cycle through each of them to get the same outcome, but it will be more expensive to call. What you describe cannot be easily achieved as that would require to change the output signature of each module's forward method.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DongxiaW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants