We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d073e4f commit 78df552Copy full SHA for 78df552
tests/test-backend-ops.cpp
@@ -1726,6 +1726,7 @@ static bool test_backend(ggml_backend_t backend, test_mode mode, const char * op
1726
test_cases.emplace_back(new test_pad());
1727
test_cases.emplace_back(new test_leaky_relu());
1728
1729
+#if 0
1730
for (int hs : { 64, 80, 96, 112, 128, 256, }) {
1731
for (int nh : { 32, }) {
1732
for (int kv : { 512, 1024, 2048, 4096, }) {
@@ -1736,6 +1737,18 @@ static bool test_backend(ggml_backend_t backend, test_mode mode, const char * op
1736
1737
}
1738
1739
1740
+#else
1741
+ for (int hs : { 128, }) {
1742
+ for (int nh : { 32, }) {
1743
+ for (int kv : { 512, 1024, }) {
1744
+ for (int nb : { 1, 2, 4, 8, 512 }) {
1745
+ test_cases.emplace_back(new test_attn (hs, nh, kv, nb));
1746
+ test_cases.emplace_back(new test_flash_attn_ext(hs, nh, kv, nb));
1747
+ }
1748
1749
1750
1751
+#endif
1752
1753
#if !defined(__SANITIZE_THREAD__)
1754
// FIXME: these tests use too much memory with thread sanitizer
0 commit comments