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

Method need_sampling

tools/server/server-task.h:199–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 }
198
199 bool need_sampling() const {
200 switch (type) {
201 case SERVER_TASK_TYPE_COMPLETION:
202 case SERVER_TASK_TYPE_INFILL:
203 return true;
204 default:
205 return false;
206 }
207 }
208
209 static task_params params_from_json_cmpl(
210 const llama_vocab * vocab,

Callers 3

init_samplerMethod · 0.80
launch_slot_with_taskMethod · 0.80
update_slotsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected