From 71574f92739e7b0adf3a126969ab7832162f2e7b Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 18 Nov 2025 07:31:54 +0100 Subject: [PATCH] sampling : enable all backend sampler tests This commit enables all exisiting backend sampler tests in the test-backend-sampler. Previously, some tests were disabled because there were missing ggml operation implementations. --- tests/test-backend-sampler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test-backend-sampler.cpp b/tests/test-backend-sampler.cpp index 191eebba3e..aa018e645a 100644 --- a/tests/test-backend-sampler.cpp +++ b/tests/test-backend-sampler.cpp @@ -639,10 +639,10 @@ static const backend_test_case BACKEND_TESTS[] = { { "greedy", test_backend_greedy_sampling, true }, { "logit_bias", test_backend_logit_bias_sampling, true }, { "temp", test_backend_temp_sampling, true }, - { "top_k", test_backend_top_k_sampling, false }, - { "multi_sequence", test_backend_multi_sequence_sampling, false }, - { "dist", test_backend_dist_sampling, false }, - { "dist_and_cpu", test_backend_dist_sampling_and_cpu, false }, + { "top_k", test_backend_top_k_sampling, true }, + { "multi_sequence", test_backend_multi_sequence_sampling, true }, + { "dist", test_backend_dist_sampling, true }, + { "dist_and_cpu", test_backend_dist_sampling_and_cpu, true }, { "set_sampler", test_backend_set_sampler, true }, };