Skip to content

Commit

Permalink
first implementation of embedding scores via api
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Marinho <gmarinho@ibm.com>
  • Loading branch information
gmarinho2 committed Feb 5, 2025
1 parent 635b8e8 commit 7851b44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vllm/entrypoints/openai/api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,8 +805,8 @@ async def init_app_state(
engine_client,
model_config,
state.openai_serving_models,
request_logger=request_logger
) if model_config.task == "score" else None
request_logger=request_logger) if model_config.task in (
"score", "embed", "pooling") else None
state.jinaai_serving_reranking = JinaAIServingRerank(
engine_client,
model_config,
Expand Down

0 comments on commit 7851b44

Please sign in to comment.