mirror of
https://github.com/vllm-project/vllm.git
synced 2026-08-22 21:50:15 +00:00
[CI][Bugfix] Reduce max_model_len in OOT embedding test to fix KV-cache OOM on small GPUs (#49351)
Signed-off-by: sfeng33 <[email protected]>
This commit is contained in:
@@ -50,7 +50,7 @@ def test_oot_registration_embedding(
|
||||
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", max_model_len=2048
|
||||
model=dummy_gemma2_embedding_path, load_format="dummy", max_model_len=512
|
||||
)
|
||||
outputs = llm.embed(prompts)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user