You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
The text was updated successfully, but these errors were encountered:
I checked the examples of vLLM just now. In new version of vLLM, they build a new class to run beam search. If you want to use beam search, you should check this class:
# vllm/sampling_parameters.pyclassBeamSearchParams(
msgspec.Struct,
omit_defaults=True, # type: ignore[call-arg]# required for @cached_property.dict=True): # type: ignore[call-arg]"""Beam search parameters for text generation."""beam_width: intmax_tokens: intignore_eos: bool=Falsetemperature: float=0.0length_penalty: float=1.0include_stop_str_in_output: bool=False
Your current environment
https://github.com/OpenBMB/vllm
Model Input Dumps
No response
🐛 Describe the bug
Your documentation suggests using the following SamplingParams:
But your forked copy of
sampling_params.py
does not includeuse_beam_search
as a parameter:vllm/vllm/sampling_params.py
Line 87 in cd9d06f
Before submitting a new issue...
The text was updated successfully, but these errors were encountered: