Skip to content

Commit 6b07615

Browse files
committed
ggml : update ggml_backend_cpu_device_supports_op (llama/10867)
* ggml : fix cpy op for IQ-quants to use reference impl ggml-ci * ggml : disable tests involving i-matrix quantization * ggml : update ggml_backend_cpu_device_supports_op ggml-ci
1 parent e7f9dbb commit 6b07615

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ggml/src/ggml-cpu/ggml-cpu.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,11 @@ static bool ggml_backend_cpu_device_supports_op(ggml_backend_dev_t dev, const st
394394
switch (op->op) {
395395
case GGML_OP_CPY:
396396
return
397+
op->type != GGML_TYPE_IQ3_XXS &&
398+
op->type != GGML_TYPE_IQ3_S &&
397399
op->type != GGML_TYPE_IQ2_XXS &&
398400
op->type != GGML_TYPE_IQ2_XS &&
401+
op->type != GGML_TYPE_IQ2_S &&
399402
op->type != GGML_TYPE_IQ1_S &&
400403
op->type != GGML_TYPE_IQ1_M; // missing type_traits.from_float
401404
case GGML_OP_MUL_MAT:

0 commit comments

Comments
 (0)