gguf-test: tensor data comparison
This commit is contained in:
parent
7000623c00
commit
ba421dd04e
2 changed files with 10 additions and 0 deletions
|
@ -648,6 +648,10 @@ struct gguf_context * gguf_init_from_file_impl(FILE * file, struct gguf_init_par
|
|||
|
||||
ok = ok && data != nullptr;
|
||||
|
||||
if (ok) {
|
||||
ggml_set_name(data, "GGUF tensor data binary blob");
|
||||
}
|
||||
|
||||
// read the binary blob with the tensor data
|
||||
ok = ok && gr.read(data->data, ctx->size);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue