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

Function ggml_graph_overhead_custom

ggml.c:16337–16339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16335}
16336
16337size_t ggml_graph_overhead_custom(size_t size, bool grads) {
16338 return GGML_OBJECT_SIZE + GGML_PAD(ggml_graph_nbytes(size, grads), GGML_MEM_ALIGN);
16339}
16340
16341size_t ggml_graph_overhead(void) {
16342 return ggml_graph_overhead_custom(GGML_DEFAULT_GRAPH_SIZE, false);

Callers 4

ggml_graph_overheadFunction · 0.70
ggml_graph_importFunction · 0.70
mainFunction · 0.50
mainFunction · 0.50

Calls 1

ggml_graph_nbytesFunction · 0.70

Tested by

no test coverage detected