Skip to content

Commit cbea88f

Browse files
author
Italo Nicola
committed
(wip) Tests: add 4 mulmat Q8_0 tests for larger input sizes
1 parent 208747f commit cbea88f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test-backend-ops.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5288,6 +5288,12 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_eval() {
52885288
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F16, GGML_TYPE_F32, 1056, 1, 193, {1, 1}, {4, 1}, {0, 2, 1, 3}));
52895289
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_F16, GGML_TYPE_F32, 1056, 1, 67, {1, 1}, {4, 1}, {0, 2, 1, 3}));
52905290

5291+
// XXX
5292+
//test_cases.emplace_back(new test_mul_mat(GGML_TYPE_Q8_0, GGML_TYPE_F32, 151936, 256, 1024, {1, 1}, {1, 1}));
5293+
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_Q8_0, GGML_TYPE_F32, 128, 256, 1024, {1, 1}, {1, 1}));
5294+
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_Q8_0, GGML_TYPE_F32, 4096*8, 256, 1024, {1, 1}, {1, 1}));
5295+
test_cases.emplace_back(new test_mul_mat(GGML_TYPE_Q8_0, GGML_TYPE_F32, 4096*16, 256, 1024, {1, 1}, {1, 1}));
5296+
52915297
for (auto bs : {1,2,4,8}) {
52925298
for (auto nr : {1,4}) {
52935299
for (uint32_t m = 0; m < 2; ++m) {

0 commit comments

Comments
 (0)