SGLang, software for serving language models, adds beam search in version 0.5.19. A request can explore several candidate sequences and return the highest-ranked ones, giving an ApplicationSoftware arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.Full definition → alternatives to a single generated continuation.
The implementation makes this a per-request choice: beam-search requests can share batches and memory pools with ordinary requests without a separate ServerSoftware that receives requests, processes them and returns responses; the computer running it is its host.Full definition → switch. The release excludes combinations with speculative decodingA speed trick where a small model drafts several tokens ahead and the big model verifies them in one pass, often doubling generation speed.Full definition → and hierarchical caching, among other modes, so adopting it depends on the serving configuration.
Terms in this piece · Glossary
Application — Software arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.
Server — Software that receives requests, processes them and returns responses; the computer running it is its host.
speculative decoding — A speed trick where a small model drafts several tokens ahead and the big model verifies them in one pass, often doubling generation speed.