Skip to content

Commit

Permalink
imatrix : fix wname for mul_mat_id ops
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Mar 24, 2024
1 parent 9556217 commit d369006
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/imatrix/imatrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ bool IMatrixCollector::collect_imatrix(struct ggml_tensor * t, bool ask, void *
// this is necessary to guarantee equal number of "ncall" for each tensor
for (int ex = 0; ex < n_as; ++ex) {
src0 = t->src[2 + ex];
wname = src0->name;
auto& e = m_stats[wname];
if (e.values.empty()) {
e.values.resize(src1->ne[0], 0);
Expand Down

0 comments on commit d369006

Please sign in to comment.