Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load LORA adapter for inference #3589

Closed
kv-gits opened this issue Sep 6, 2023 · 3 comments
Closed

Load LORA adapter for inference #3589

kv-gits opened this issue Sep 6, 2023 · 3 comments

Comments

@kv-gits
Copy link

kv-gits commented Sep 6, 2023

It is possible to train model with lora and build adapter. But I did not find in docs how to load and apply adapter to base model for inference. Is it possible? If not, is this planned?

@tgaddair
Copy link
Collaborator

tgaddair commented Sep 6, 2023

Thanks for raising the issue @kv-gits! This should be fixed by #3572, is that right @Infernaught ?

@Infernaught
Copy link
Contributor

Yes, that PR is the one that should address pretrained lora weight loading. I'm waiting on some last bits of feedback for that PR before we land it, but if you want to try it @kv-gits, here's the branch the changes were made on: https://github.com/ludwig-ai/ludwig/tree/pretrained_adapter_weights

@arnavgarg1
Copy link
Contributor

Hi @kv-gits - I wanted to follow up and see if you were able to try Ludwig 0.8.6 and see if your issue was resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants