-
Notifications
You must be signed in to change notification settings - Fork 12k
Feature Request: Mapping model name to LoRA config #11031
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
Comments
I can work on this if possible. |
@joeamroo Can your firstly describe how you will implement it? Also, I'm thinking about a more general case. Maybe users want not just mapping list of lora to model name, but also generation params to model name. For example:
So probably we should implement the more generic way. |
This feature would be useful. Briefly reading through the code, here is a thought: I see there already is a We'd add a mapping of When the user POSTs a new model-alias, we can also start from the ambient Finally, in What do you think @ngxson? |
IMO using a POST endpoint to set this will make it less reproducible. Many users expect to use A better UX/DX is to provide an argument, for example
|
I think this feature is really helpful. The configuration to map the LoRA name to its settings could also be configured in the environment variable. I am looking forward to this feature being released. |
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
Feature Description
I came across this idea while working on #10994
The idea is that we can maintain a list of model name mapped to LoRA config, for example:
Then, user can switch the model by specifying
model
in the request, for example:Motivation
N/A
Possible Implementation
No response
The text was updated successfully, but these errors were encountered: