Skip to content

Commit

Permalink
[FIX] Fix beam search test (vllm-project#2930)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuohan123 authored and jimpang committed Feb 22, 2024
1 parent c1179ac commit 7403f05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/samplers/test_beam_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def test_beam_search_single_input(
max_tokens: int,
beam_width: int,
) -> None:
example_prompts = example_prompts[:1]
hf_model = hf_runner(model, dtype=dtype)
hf_outputs = hf_model.generate_beam_search(example_prompts, beam_width,
max_tokens)
Expand Down

0 comments on commit 7403f05

Please sign in to comment.