MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / llama_get_memory

Function llama_get_memory

subprojects/llama.cpp/src/llama-context.cpp:3258–3260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3256//
3257
3258llama_memory_t llama_get_memory(const struct llama_context * ctx) {
3259 return ctx->get_memory();
3260}
3261
3262void llama_memory_clear(llama_memory_t mem, bool data) {
3263 if (!mem) {

Callers 15

mainFunction · 0.85
get_hidden_layersFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
perplexity_v2Function · 0.85
perplexityFunction · 0.85
hellaswag_scoreFunction · 0.85
winogrande_scoreFunction · 0.85

Calls 1

get_memoryMethod · 0.80

Tested by 2

mainFunction · 0.68
draftMethod · 0.68