diff --git a/ggml/src/ggml-openvino/ggml-openvino.cpp b/ggml/src/ggml-openvino/ggml-openvino.cpp index 3b0e1ef7db07..cac83a1bd80f 100644 --- a/ggml/src/ggml-openvino/ggml-openvino.cpp +++ b/ggml/src/ggml-openvino/ggml-openvino.cpp @@ -1173,6 +1173,10 @@ static bool is_op_unsupported_case(const ggml_tensor * op) { // GGML_LOG_WARN("OpenVINO backend does not support CPY with non-contiguous data or bf16 types\n"); return true; } + // CPY to a quantized destination (e.g. f32 -> q4_0) is numerically unstable with OpenVINO backend. + if (ggml_is_quantized(op->type)) { + return true; + } if (ggml_nelements(op->src[0]) != ggml_nelements(op->src[1])) { return true; }