sgl-project/sglang

[Feature] Simplify `tree_speculative_sampling_target_only`

Open

#12,562 opened on Nov 3, 2025

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Python (6,216 forks)auto 404
good first issue

Repository metrics

Stars
 (28,442 stars)
PR merge metrics
 (Avg merge 2d 1h) (1,000 merged PRs in 30d)

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