sglang icon indicating copy to clipboard operation
sglang copied to clipboard

[Feature] Does sglang now support beam search

Open StevenZHB opened this issue 1 year ago • 2 comments

Motivation

Does sglang now support beam search? I tried using the 'best_of' parameter, but the output seems to be the same as if it wasn't used.

Related resources

No response

StevenZHB avatar Aug 03 '24 07:08 StevenZHB

Currently not supported. Whether to support it in the future needs to be discussed. At present, other features and optimizations may have a higher priority. Thank you for your interest in SGLang. Please stay tuned, thanks.

zhyncs avatar Aug 03 '24 08:08 zhyncs

I agree it is a low priority. There are a lot of way to generate diverse output from LLMs and then select a good response. Unclear that beam search is a good approach anyway.

min-xu-et avatar Aug 03 '24 17:08 min-xu-et

This issue has been automatically closed due to inactivity. Please feel free to reopen it if needed.

github-actions[bot] avatar Oct 03 '24 01:10 github-actions[bot]