mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-26 05:01:49 +08:00
[Bugfix][Harmless] Fix float16 dtype for model_is_embedding (#7566)
This commit is contained in:
parent
21313e09e3
commit
9c8e2d1161
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user