Skip to content

Commit 33e50f1

Browse files
committed
test-backend-ops : disable MOE test with thread sanitizer
1 parent ffda94c commit 33e50f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test-backend-ops.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1373,8 +1373,11 @@ static bool test_backend(ggml_backend_t backend, test_mode mode, const char * op
13731373

13741374
test_cases.emplace_back(new test_sum_rows());
13751375

1376+
#if !defined(__SANITIZE_THREAD__)
1377+
// FIXME: these tests use too much memory with thread sanitizer
13761378
test_cases.emplace_back(new test_moe(8, 2, 1, 4096, 14336));
13771379
//test_cases.emplace_back(new test_moe(8, 2, 8, 4096, 14336));
1380+
#endif
13781381

13791382
// run tests
13801383
if (mode == MODE_TEST) {

0 commit comments

Comments
 (0)