MCPcopy Create free account
hub / github.com/PABannier/sam3.cpp / ggml_init_params

Class ggml_init_params

sam3.cpp:3297–3297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3295 // Estimate: ~3000 tensors, generous overhead
3296 size_t ctx_size = ggml_tensor_overhead() * 4096 + ggml_graph_overhead();
3297 struct ggml_init_params ctx_params = {
3298 /*.mem_size =*/ctx_size,
3299 /*.mem_buffer =*/nullptr,
3300 /*.no_alloc =*/true,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected