mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-28 03:37:04 +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",
|
tokenizer_mode="auto",
|
||||||
trust_remote_code=trust_remote_code,
|
trust_remote_code=trust_remote_code,
|
||||||
seed=0,
|
seed=0,
|
||||||
dtype="float16").embedding_mode
|
dtype="auto").embedding_mode
|
||||||
|
|
||||||
|
|
||||||
@asynccontextmanager
|
@asynccontextmanager
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user