| 9630 | |
| 9631 | for (int K : {3, 5}) { |
| 9632 | for (int IC : {256, 2560}) { |
| 9633 | for (int IW_IH : {32, 64, 256}) { |
| 9634 | if (IC == 2560 && IW_IH == 256) { |
| 9635 | // too big |
| 9636 | continue; |
| 9637 | } |
| 9638 | test_cases.emplace_back(new test_im2col(GGML_TYPE_F32, GGML_TYPE_F16, GGML_TYPE_F32, {IW_IH, IW_IH, IC, 1}, {K, K, IC, 1}, 1, 1, 1, 1, 1, 1, true)); |
| 9639 | } |
| 9640 | } |
| 9641 | } |
| 9642 | |
| 9643 | // Qwen3-VL-8B https://github.com/ggml-org/llama.cpp/issues/17012 |
| 9644 | test_cases.emplace_back(new test_flash_attn_ext(72, 72, 16, {1, 1}, 5776, 5776, false, false, 0, 0, GGML_PREC_F32, GGML_TYPE_F16, GGML_TYPE_F16)); |
| 9645 | |
| 9646 | test_cases.emplace_back(new test_flash_attn_ext(64, 64, 8, {8, 1}, 7680, 1, true, false, 0, 0, GGML_PREC_F32, GGML_TYPE_F16, GGML_TYPE_F16)); |
| 9647 | test_cases.emplace_back(new test_flash_attn_ext(64, 64, 8, {8, 1}, 7680, 4, true, false, 0, 0, GGML_PREC_F32, GGML_TYPE_F16, GGML_TYPE_F16)); |
| 9648 | test_cases.emplace_back(new test_flash_attn_ext(64, 64, 8, {8, 1}, 7680, 1, true, false, 0, 0, GGML_PREC_F32, GGML_TYPE_Q4_0, GGML_TYPE_Q4_0)); |
| 9649 | test_cases.emplace_back(new test_flash_attn_ext(64, 64, 8, {8, 1}, 7680, 512, true, false, 0, 0, GGML_PREC_F32, GGML_TYPE_Q4_0, GGML_TYPE_Q4_0)); |