llama-cpp-d ~master (2026-03-20T18:06:26.5280947)
Dub
Repo
SamplerChain.dist
llama
sampling
SamplerChain
Adds stochastic (dist) sampling with an optional seed.
struct
SamplerChain
ref @
nogc
nothrow return
SamplerChain
dist
(
uint
seed
=
LLAMA_DEFAULT_SEED
)
Meta
Source
See Implementation
llama
sampling
SamplerChain
functions
accept
dist
dry
grammar
greedy
logitBias
minP
mirostatV2
penalties
printPerf
sample
temp
tempExt
topK
topNSigma
topP
typical
xtc
mixins
__anonymous
static functions
create
Adds stochastic (dist) sampling with an optional seed.