Actually use AVX2
This commit is contained in:
parent
e29652996b
commit
41669f67d8
1 changed files with 1 additions and 1 deletions
2
ggml.c
2
ggml.c
|
@ -732,7 +732,7 @@ static void quantize_row_q4_1_reference(const float * restrict x, void * restric
|
||||||
void quantize_row_q4_1(const float * restrict x, void * restrict vy, int k) {
|
void quantize_row_q4_1(const float * restrict x, void * restrict vy, int k) {
|
||||||
assert(k % QK == 0);
|
assert(k % QK == 0);
|
||||||
|
|
||||||
#if defined(__AVX2__) && 0
|
#if defined(__AVX2__)
|
||||||
const int nb = k / QK;
|
const int nb = k / QK;
|
||||||
|
|
||||||
block_q4_1 * restrict y = vy;
|
block_q4_1 * restrict y = vy;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue