| 2396 | } |
| 2397 | |
| 2398 | int32_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 |
no test coverage detected