MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / common_sampler_get

Function common_sampler_get

common/sampling.cpp:520–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518}
519
520struct llama_sampler * common_sampler_get(const struct common_sampler * gsmpl) {
521 if (!gsmpl) {
522 return nullptr;
523 }
524
525 return gsmpl->chain;
526}
527
528llama_token common_sampler_sample(struct common_sampler * gsmpl, struct llama_context * ctx, int idx, bool grammar_first) {
529 llama_synchronize(ctx);

Callers 3

launch_slot_with_taskMethod · 0.85
common_init_resultMethod · 0.85
reset_samplersMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected