Skip to content

Commit 0c9e442

Browse files
committed
ggml-quants : remove some commented code
1 parent f27c1af commit 0c9e442

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ggml/src/ggml-quants.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5173,7 +5173,6 @@ static void quantize_row_iq4_nl_impl(const int super_block_size, const int block
51735173
for (int j = 0; j < block_size; ++j) weight[j] = qw[j] * sqrtf(sigma2 + xb[j]*xb[j]);
51745174
} else {
51755175
for (int j = 0; j < block_size; ++j) weight[j] = sqrtf(sigma2 + xb[j]*xb[j]);
5176-
// for (int j = 0; j < block_size; ++j) weight[j] = 1;
51775176
}
51785177
float amax = 0;
51795178
for (int j = 0; j < block_size; ++j) {
@@ -5258,7 +5257,6 @@ size_t quantize_iq4_nl(const float * restrict src, void * restrict dst, int64_t
52585257
return nrow * nblock * sizeof(block_iq4_nl);
52595258
}
52605259

5261-
//void quantize_row_iq4_nl_ref(const float * restrict x, void * restrict vy, int64_t k) {
52625260
void quantize_row_iq4_nl_ref(const float * restrict x, block_iq4_nl * restrict y, int64_t k) {
52635261
GGML_ASSERT(k%QK4_NL == 0);
52645262
int64_t nblock = k/QK4_NL;

0 commit comments

Comments
 (0)