mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-07-21 02:05:51 +00:00
tests : initialize all tensors in test_dsv4_hc to avoid NaNs in sentinel tensors (#25822)
Co-authored-by: Stanisław Szymczyk <sszymczy@gmail.com>
This commit is contained in:
co-authored by
Stanisław Szymczyk
parent
635cdd5fcc
commit
5d5306bf3e
@@ -3802,6 +3802,7 @@ struct test_dsv4_hc : public test_case {
|
|||||||
float lo;
|
float lo;
|
||||||
float hi;
|
float hi;
|
||||||
if (!tensor_range(name, lo, hi)) {
|
if (!tensor_range(name, lo, hi)) {
|
||||||
|
init_tensor_uniform(t);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user