tests : fix gguf context use in same_tensor_data

This commit is contained in:
Georgi Gerganov 2025-01-17 16:26:12 +02:00
parent e872097c35
commit 7000623c00
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -1049,7 +1049,7 @@ static bool same_tensor_data(const struct ggml_context * orig, const struct ggml
}
t_orig = ggml_get_next_tensor(orig, t_orig);
t_read = ggml_get_next_tensor(orig, t_read);
t_read = ggml_get_next_tensor(read, t_read);
}
if (t_read) {
ok = false;