Skip to content

Commit

Permalink
[Bugfix][Harmless] Fix float16 dtype for model_is_embedding (vllm-pro…
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoin authored Aug 16, 2024
1 parent 21313e0 commit 9c8e2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/entrypoints/openai/api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def model_is_embedding(model_name: str, trust_remote_code: bool) -> bool:
tokenizer_mode="auto",
trust_remote_code=trust_remote_code,
seed=0,
dtype="float16").embedding_mode
dtype="auto").embedding_mode


@asynccontextmanager
Expand Down

0 comments on commit 9c8e2d1

Please sign in to comment.