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

Function llama_kv_self_seq_div

smallthinker/src/llama-context.cpp:2516–2528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2514}
2515
2516void llama_kv_self_seq_div(
2517 llama_context * ctx,
2518 llama_seq_id seq_id,
2519 llama_pos p0,
2520 llama_pos p1,
2521 int d) {
2522 auto * kv = ctx->get_kv_self();
2523 if (!kv) {
2524 return;
2525 }
2526
2527 kv->seq_div(seq_id, p0, p1, d);
2528}
2529
2530llama_pos llama_kv_self_seq_pos_min(llama_context * ctx, llama_seq_id seq_id) {
2531 const auto * kv = ctx->get_kv_self();

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls 2

get_kv_selfMethod · 0.80
seq_divMethod · 0.45

Tested by

no test coverage detected