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

Method set_embeddings

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

Source from the content-addressed store, hash-verified

596}
597
598void llama_context::set_embeddings(bool value) {
599 LLAMA_LOG_DEBUG("%s: value = %d\n", __func__, value);
600
601 cparams.embeddings = value;
602}
603
604void llama_context::set_causal_attn(bool value) {
605 LLAMA_LOG_DEBUG("%s: value = %d\n", __func__, value);

Callers 1

llama_set_embeddingsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected