mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-02 09:12:03 +00:00
gguf : do not support passing existing ggml_context to gguf_init
This commit is contained in:
5
ggml.h
5
ggml.h
@@ -1636,9 +1636,8 @@ extern "C" {
|
||||
|
||||
struct gguf_init_params {
|
||||
bool load; // load the tensor data
|
||||
bool malloc; // if false, use the provided ggml_context to allocate the tensor data
|
||||
// it no ggml_context is provided, it will be created
|
||||
// if true, use malloc to allocate the tensor data
|
||||
bool malloc; // if false, create a ggml_context and allocate the tensor data in it
|
||||
// if true, use malloc to allocate the tensor data instead
|
||||
|
||||
struct ggml_context ** ctx;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user