From 33e50f1b538a92555c88d8fa241ca24f65d4163e Mon Sep 17 00:00:00 2001 From: slaren Date: Mon, 11 Dec 2023 12:27:48 +0100 Subject: [PATCH] test-backend-ops : disable MOE test with thread sanitizer --- tests/test-backend-ops.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test-backend-ops.cpp b/tests/test-backend-ops.cpp index e6e3e7650..dcbc6d380 100644 --- a/tests/test-backend-ops.cpp +++ b/tests/test-backend-ops.cpp @@ -1373,8 +1373,11 @@ static bool test_backend(ggml_backend_t backend, test_mode mode, const char * op test_cases.emplace_back(new test_sum_rows()); +#if !defined(__SANITIZE_THREAD__) + // FIXME: these tests use too much memory with thread sanitizer test_cases.emplace_back(new test_moe(8, 2, 1, 4096, 14336)); //test_cases.emplace_back(new test_moe(8, 2, 8, 4096, 14336)); +#endif // run tests if (mode == MODE_TEST) {