sgl-project/sglang

[Feature] Simplify `tree_speculative_sampling_target_only`

Open

#12,562 opened on Nov 3, 2025

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Python (28,442 stars) (6,216 forks)auto 404
good first issue

Description

Checklist

Motivation

Some TODOs for newcomers to SGLang

  • Remove passing argument draft_probs
  • Add a more efficient kernel (torch/triton/cuda) for topk=1 special case.

Related resources

No response

Contributor guide