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

Function ggml_allocr_free

ggml-alloc.c:743–747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

741}
742
743void ggml_allocr_free(ggml_allocr_t alloc) {
744 ggml_gallocr_free(alloc->galloc);
745 ggml_tallocr_free(alloc->talloc);
746 free(alloc);
747}
748
749bool ggml_allocr_is_measure(ggml_allocr_t alloc) {
750 return ggml_tallocr_is_measure(alloc->talloc);

Callers 8

~llama_contextMethod · 0.85
apply_loraFunction · 0.85
clip_model_loadFunction · 0.85
init_modelFunction · 0.85
mainFunction · 0.85
init_loraFunction · 0.85
mainFunction · 0.85

Calls 2

ggml_tallocr_freeFunction · 0.85
ggml_gallocr_freeFunction · 0.70

Tested by

no test coverage detected