We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 264017a commit 63e2a64Copy full SHA for 63e2a64
tests/samplers/test_beam_search.py
@@ -26,6 +26,7 @@ def test_beam_search_single_input(
26
max_tokens: int,
27
beam_width: int,
28
) -> None:
29
+ example_prompts = example_prompts[:1]
30
hf_model = hf_runner(model, dtype=dtype)
31
hf_outputs = hf_model.generate_beam_search(example_prompts, beam_width,
32
max_tokens)
0 commit comments