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

Method get_embeddings_seq

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

Source from the content-addressed store, hash-verified

549}
550
551float * 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
560void llama_context::attach_threadpool(
561 ggml_threadpool_t threadpool,

Callers 1

llama_get_embeddings_seqFunction · 0.80

Calls 3

findMethod · 0.80
endMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected