]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
tests : initialize all tensors in test_dsv4_hc to avoid NaNs in sentinel tensors...
authorfairydreaming <redacted>
Fri, 17 Jul 2026 13:33:35 +0000 (15:33 +0200)
committerGitHub <redacted>
Fri, 17 Jul 2026 13:33:35 +0000 (15:33 +0200)
Co-authored-by: Stanisław Szymczyk <redacted>
tests/test-backend-ops.cpp

index 5b5f196184ba8eb098e2bd20f0b0c74d706e73ab..e3553c5e9ca19bb23255f44af879ef547455dc57 100644 (file)
@@ -3802,6 +3802,7 @@ struct test_dsv4_hc : public test_case {
             float lo;
             float hi;
             if (!tensor_range(name, lo, hi)) {
+                init_tensor_uniform(t);
                 continue;
             }