Skip to content
KernelIndex
Search⌘K

Top p sampling from probs v163840

0 eligible runs
sampling

Top-p (nucleus) sampling from probabilities with vocab_size=163840. Filters probabilities using cumulative probability threshold, then samples from the filtered distribution. Captured from Kimi K2.5 (moonshotai/Kimi-K2.5, text_config.vocab_size=163840).

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_pfp32 [batch_size]
samplesint64 [batch_size]
Axes and behavior
batch_sizevariable
vocab_sizeconstant = 163840
determinismunspecified
constraintsNo mutation or aliasing
Identity
aliastop_p_sampling_from_probs_v163840modelkimi-k2-5sha256974acee69c06…
No source imports for this operation yet.How records are decidedJSON