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

Overriding the model routing logic #1017

Open
James-UnlikelyAI opened this issue May 15, 2023 · 0 comments
Open

Overriding the model routing logic #1017

James-UnlikelyAI opened this issue May 15, 2023 · 0 comments

Comments

@James-UnlikelyAI
Copy link

Is it possible to customise how the server decides which model to send a request to?

My use case is that we have lots of models with different versions and I want to automatically always route requests sent to mymodel handle to the latest version. The models are named like mymodel_v1, mymodel_v2, .... mymodel_v9 and are incremented fairly regularly as part of a continuous deployment process.

Is there somewhere in the code that I could override in order to do this routing? On a related note if there is a better way to do this I would love to know! thanks

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

1 participant