Skip to content

Commit

Permalink
restore
Browse files Browse the repository at this point in the history
  • Loading branch information
youkaichao committed Sep 20, 2024
1 parent 9a6d06c commit f11d549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/samplers/test_beam_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_beam_search_single_input(
max_tokens: int,
beam_width: int,
) -> None:
example_prompts = example_prompts[1:2]
example_prompts = example_prompts[:1]
with hf_runner(model, dtype=dtype) as hf_model:
hf_outputs = hf_model.generate_beam_search(example_prompts, beam_width,
max_tokens)
Expand Down

0 comments on commit f11d549

Please sign in to comment.