mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-09 17:05:37 +08:00
[CI Failure] Fix OOM with test_oot_registration_embedding (#20144)
Signed-off-by: mgoin <mgoin64@gmail.com>
This commit is contained in:
parent
e9fd658a73
commit
71799fd005
@ -53,7 +53,9 @@ def test_oot_registration_embedding(
|
||||
with monkeypatch.context() as m:
|
||||
m.setenv("VLLM_PLUGINS", "register_dummy_model")
|
||||
prompts = ["Hello, my name is", "The text does not matter"]
|
||||
llm = LLM(model=dummy_gemma2_embedding_path, load_format="dummy")
|
||||
llm = LLM(model=dummy_gemma2_embedding_path,
|
||||
load_format="dummy",
|
||||
max_model_len=2048)
|
||||
outputs = llm.embed(prompts)
|
||||
|
||||
for output in outputs:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user