Vllm.BeamSearch.BeamSearchOutput (VLLM v0.3.0)

Copy Markdown View Source

The output of beam search.

It contains the list of the best beam search sequences. The length of the list is equal to the beam width.

Summary

Functions

Initialize self. See help(type(self)) for accurate signature.

Types

t()

@opaque t()

Functions

new(sequences, opts \\ [])

@spec new(
  [Vllm.BeamSearch.BeamSearchSequence.t()],
  keyword()
) :: {:ok, SnakeBridge.Ref.t()} | {:error, Snakepit.Error.t()}

Initialize self. See help(type(self)) for accurate signature.

Parameters

  • sequences (list(Vllm.BeamSearch.BeamSearchSequence.t()))