mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-02-23 14:44:09 +00:00
Fix iqk_mul_mat when number of rows is not multiple of repack rows
This commit is contained in:
@@ -502,7 +502,8 @@ extern "C" IQK_API bool iqk_mul_mat(long Nx, long Ny, long ne00,
|
||||
|
||||
auto etypeA = ggml_type(typeA);
|
||||
if (auto dequant_type = MulMat::is_dequant_better(etypeA, Ny);
|
||||
dequant_type != etypeA && MulMat::prepare(dequant_type, typeB, ne00, mm, Ny)) {
|
||||
dequant_type != etypeA && MulMat::prepare(dequant_type, typeB, ne00, mm, Ny) &&
|
||||
Nx%MulMat::num_rows(ggml_type(dequant_type)) == 0) {
|
||||
|
||||
constexpr int k_x_step = 32;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user