Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
9c8e2d11
Unverified
Commit
9c8e2d11
authored
Aug 15, 2024
by
Michael Goin
Committed by
GitHub
Aug 15, 2024
Browse files
[Bugfix][Harmless] Fix float16 dtype for model_is_embedding (#7566)
parent
21313e09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/entrypoints/openai/api_server.py
vllm/entrypoints/openai/api_server.py
+1
-1
No files found.
vllm/entrypoints/openai/api_server.py
View file @
9c8e2d11
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment