Skip to content
KernelIndex
Search⌘K

Top k top p sampling from probs v248320

0 eligible runs
sampling

Top-k top-p (nucleus) sampling from probabilities with vocab_size=248320. Filters probabilities using top-k and top-p constraints, then samples from the filtered distribution. Captured from Qwen3.5-35B-A3B.

Current records

No published measurement for the selected workload.

Implementations

Implementation
Runtime
Best latency
Evidence
Availability

Semantics

Inputs and outputs
probsfp32 [batch_size, vocab_size]
top_kint32 [batch_size]
top_pfp32 [batch_size]
samplesint64 [batch_size]
Axes and behavior
batch_sizevariable
vocab_sizeconstant = 248320
determinismunspecified
constraintsNo mutation or aliasing
Identity
aliastop_k_top_p_sampling_from_probs_v248320modelqwen3-5-35b-a3bsha2565f8c0f4bbadc…
No source imports for this operation yet.How records are decidedJSON