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

Use Lora with hosted inference API #281

Open
lionel-alves opened this issue May 30, 2023 · 2 comments
Open

Use Lora with hosted inference API #281

lionel-alves opened this issue May 30, 2023 · 2 comments

Comments

@lionel-alves
Copy link

Hi,

I would like to choose a model and a lora and generate images with it using the hosted inference API
As showed here: https://huggingface.co/pcuenq/pokemon-lora

If parameters has a lora_model_id use merge with the lora model.

@Narsil
Copy link
Contributor

Narsil commented Jun 5, 2023

If you use a diffusers LoRA I think this is already what will happen, the lora will download the mother model and use them.

@pcuenca that's correct, right ?

@pcuenca
Copy link
Member

pcuenca commented Jun 5, 2023

If you use a diffusers LoRA I think this is already what will happen, the lora will download the mother model and use them.

Yes, exactly! The mother model is referenced in the base_model metadata field as shown here: https://huggingface.co/pcuenq/pokemon-lora/blob/main/README.md?code=true#L4

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

3 participants