| 549 | } |
| 550 | |
| 551 | float * llama_context::get_embeddings_seq(llama_seq_id seq_id) { |
| 552 | auto it = embd_seq.find(seq_id); |
| 553 | if (it == embd_seq.end()) { |
| 554 | return nullptr; |
| 555 | } |
| 556 | |
| 557 | return it->second.data(); |
| 558 | } |
| 559 | |
| 560 | void llama_context::attach_threadpool( |
| 561 | ggml_threadpool_t threadpool, |
no test coverage detected