[CI Failure] Fix OOM with test_oot_registration_embedding (#20144)

Signed-off-by: mgoin <mgoin64@gmail.com>
This commit is contained in:
Michael Goin 2025-06-27 12:21:04 +09:00 committed by GitHub
parent e9fd658a73
commit 71799fd005
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: