Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ggml-bitnet-mad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ void ggml_vec_dot_i2_i8_s_Nx1(int n, float * s, size_t bs, const void * vx, size
accu[iy] = _mm256_setzero_si256();
}

int8_t * y_col = y + col * by;
const int8_t * y_col = y + col * by;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The following worked for me:

Suggested change
const int8_t * y_col = y + col * by;
int8_t * y_col = (int8_t *)(y + col * by);

But yours also should work off course.


for (int i = 0; i < group32_num; i++) {
const uint8_t *px = x + i * 1024;
Expand Down