MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / llama_sampler_apply

Function llama_sampler_apply

smallthinker/src/llama-sampling.cpp:341–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341void llama_sampler_apply(struct llama_sampler * smpl, struct llama_token_data_array * cur_p) {
342 GGML_ASSERT(smpl->iface->apply);
343 smpl->iface->apply(smpl, cur_p);
344}
345
346void llama_sampler_reset(struct llama_sampler * smpl) {
347 if (smpl->iface->reset) {

Callers 7

llama_sampler_sampleFunction · 0.85
applyMethod · 0.85
benchFunction · 0.85
match_stringFunction · 0.85
test_sampler_chainFunction · 0.85
common_sampler_sampleFunction · 0.85

Calls 1

applyMethod · 0.45

Tested by 4

applyMethod · 0.68
benchFunction · 0.68
match_stringFunction · 0.68
test_sampler_chainFunction · 0.68