Skip to content

Commit 71eed14

Browse files
committed
forgot to use imatrix is some cases
1 parent 8c0b8e1 commit 71eed14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: model.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1874,7 +1874,7 @@ bool ModelLoader::load_tensors(on_new_tensor_cb_t on_new_tensor_cb, ggml_backend
18741874
convert_buffer.resize(ggml_nbytes(dst_tensor));
18751875
convert_tensor((void*)read_buffer.data(), tensor_storage.type,
18761876
(void*)convert_buffer.data(), dst_tensor->type,
1877-
(int)tensor_storage.nelements() / (int)tensor_storage.ne[0], (int)tensor_storage.ne[0]);
1877+
(int)tensor_storage.nelements() / (int)tensor_storage.ne[0], (int)tensor_storage.ne[0], imatrix);
18781878
ggml_backend_tensor_set(dst_tensor, convert_buffer.data(), 0, ggml_nbytes(dst_tensor));
18791879
}
18801880
}

0 commit comments

Comments
 (0)