Comments (4)
it looks like the completions
route is hardcoded in the deployments code to point to chat/completions
, as it's the new standard set by OpenAI:
https://github.com/mlflow/mlflow/blob/master/mlflow/gateway/providers/openai.py#L266
given that the text-davinci-003 model will be deprecated and unavailable in a couple months, i'm not sure if we can prioritize a fix for this. as a workaround, gpt-35-turbo
should work!
from mlflow.
Thanks for the answer. I know this for OpenAI models, and text-davinci-003
is indeed close to retirement. But have all completion models really disappeared, e.g. open source/huggingface, and every LLM supports chat/completions
now and in the future?
This is not a big problem for us. As you said, we can switch to gpt-35-turbo
(which is cheaper, anyway). However, this decision may affect the ability of the MLFlow deployment server to be fully generic.
from mlflow.
This issue only affects OpenAI endpoints!
If you want to deploy an open source model completions model using MLflow (there's a guide for doing that here), you shouldn't run into this issue. Other providers (e.g. Anthropic) also shouldn't have this issue, as the chat/completions
code is specific to the OpenAI provider.
from mlflow.
Understood. Thank you for the clarification. Since it no longer seems relevant after your explanations, I'll close this issue.
from mlflow.
Related Issues (20)
- [BUG] Signature is not inferred and logged for certain input types HOT 2
- [BUG] External Vector Store Issue HOT 8
- [FR]Add the feature to freely select download files HOT 3
- Update ruff HOT 2
- [BUG] MLFlow deployments Bedrock model provider returns "Unknown Amazon Bedrock model type None" for Meta or Mistral AI models HOT 2
- [BUG] MLFlow Deployments Server Bedrock model provider not working with AI21 Labs model provider HOT 3
- [BUG] The `eval_results_table.json ` artifact Preview is incomplete, please add scroll bar HOT 5
- [FR] Add a `py.typed` to the mlflow package
- [BUG] Codespaces has out of date node version (16.x, required: 18.x) HOT 1
- [BUG] JSONDecodeError: Unterminated string when using log_table HOT 5
- Refactor `is_dbfs_fuse_available` HOT 2
- Ruff or Black HOT 1
- [BUG] Unable to get secured tracking server to work
- [BUG] `mlflow gc` failing at getting artifact repository when using filesystem as storage HOT 3
- [FR] static-prefix health endpoint HOT 3
- [FR] Add support for automatically tracking git metadata without requiring MLflow Projects or MLflow Recipe HOT 2
- [FR] Add support for tracking per-node level hardware specs and resource utilization in distributed training HOT 2
- [BUG] incorrect experiment run URL generated from the mlflow library HOT 3
- Fix D417 (`undocumented-param`) HOT 6
- [FR] Add flavor for AutoGluon's predictors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlflow.