Skip to content

Commit ffda94c

Browse files
committed
test-backend-ops : simplify and disable slow tests to avoid CI timeout
1 parent 8cbaed1 commit ffda94c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test-backend-ops.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@ static bool test_backend(ggml_backend_t backend, test_mode mode, const char * op
12601260
test_cases.emplace_back(new test_dup());
12611261

12621262
for (ggml_type type : all_types) {
1263-
test_cases.emplace_back(new test_cpy(GGML_TYPE_F32, type, {256, 100, 100, 1}));
1263+
test_cases.emplace_back(new test_cpy(GGML_TYPE_F32, type, {256, 10, 10, 1}));
12641264
}
12651265

12661266
test_cases.emplace_back(new test_cont());
@@ -1298,8 +1298,8 @@ static bool test_backend(ggml_backend_t backend, test_mode mode, const char * op
12981298
add_test_bin_bcast(GGML_TYPE_F32, {1, 1, 640, 1}, {32, 32, 1, 1});
12991299
add_test_bin_bcast(GGML_TYPE_F32, {5120, 1, 1, 1}, {1, 256, 1, 1});
13001300
add_test_bin_bcast(GGML_TYPE_F32, {640, 1, 1, 1}, {1, 1, 1, 1});
1301-
add_test_bin_bcast(GGML_TYPE_F32, {3, 3, 2560, 1280}, {1, 1, 1, 1});
1302-
add_test_bin_bcast(GGML_TYPE_F32, {3, 3, 2560, 1280}, {2, 1, 1, 1});
1301+
//add_test_bin_bcast(GGML_TYPE_F32, {3, 3, 2560, 1280}, {1, 1, 1, 1});
1302+
//add_test_bin_bcast(GGML_TYPE_F32, {3, 3, 2560, 1280}, {2, 1, 1, 1});
13031303

13041304
test_cases.emplace_back(new test_scale());
13051305

@@ -1374,7 +1374,7 @@ static bool test_backend(ggml_backend_t backend, test_mode mode, const char * op
13741374
test_cases.emplace_back(new test_sum_rows());
13751375

13761376
test_cases.emplace_back(new test_moe(8, 2, 1, 4096, 14336));
1377-
test_cases.emplace_back(new test_moe(8, 2, 8, 4096, 14336));
1377+
//test_cases.emplace_back(new test_moe(8, 2, 8, 4096, 14336));
13781378

13791379
// run tests
13801380
if (mode == MODE_TEST) {

0 commit comments

Comments
 (0)