]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
tests : disable moe test (#5473)
authorGeorgi Gerganov <redacted>
Tue, 13 Feb 2024 09:20:24 +0000 (11:20 +0200)
committerGitHub <redacted>
Tue, 13 Feb 2024 09:20:24 +0000 (11:20 +0200)
tests/test-backend-ops.cpp

index eb06123d25566aac8471c37d9c572d7363d724a3..9af8517d950db9364c0550d51dfd1d6a22b6ffe1 100644 (file)
@@ -2129,14 +2129,13 @@ static bool test_backend(ggml_backend_t backend, test_mode mode, const char * op
     test_cases.emplace_back(new test_pad());
     test_cases.emplace_back(new test_leaky_relu());
 
+    // these tests are disabled to save execution time, but they can be handy for debugging
+#if 0
 #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, 8*1024));
     //test_cases.emplace_back(new test_moe(8, 2, 8, 4096, 14336));
 #endif
-
-    // these tests are disabled to save execution time, but they can be handy for debugging
-#if 0
     test_cases.emplace_back(new test_llama(1));
     test_cases.emplace_back(new test_llama(2));
     test_cases.emplace_back(new test_falcon(1));