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

Function llama_apply_adapter_cvec

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

Source from the content-addressed store, hash-verified

2396}
2397
2398int32_t llama_apply_adapter_cvec(
2399 llama_context * ctx,
2400 const float * data,
2401 size_t len,
2402 int32_t n_embd,
2403 int32_t il_start,
2404 int32_t il_end) {
2405 bool res = ctx->apply_adapter_cvec(data, len, n_embd, il_start, il_end);
2406
2407 return res ? 0 : -1;
2408}
2409
2410//
2411// kv cache

Callers 1

common_init_from_paramsFunction · 0.85

Calls 1

apply_adapter_cvecMethod · 0.80

Tested by

no test coverage detected