From: Xuan-Son Nguyen Date: Fri, 25 Apr 2025 12:31:42 +0000 (+0200) Subject: clip : fix pixtral on some GPU backends (llama/13097) X-Git-Tag: upstream/0.0.2015~25 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=5fe6d362244c8bfb5175bb4059a4f848da492aff;p=pkg%2Fggml%2Fsources%2Fggml clip : fix pixtral on some GPU backends (llama/13097) * clip : fix pixtral on some GPU backends * refactor inp_raw set * rm outdated comment * fix dynamic size * add TODO --- diff --git a/tests/test-backend-ops.cpp b/tests/test-backend-ops.cpp index 61751755..d70acb77 100644 --- a/tests/test-backend-ops.cpp +++ b/tests/test-backend-ops.cpp @@ -2606,6 +2606,8 @@ struct test_rope : public test_case { } else { out = ggml_rope_ext_back(ctx, a, pos, freq, n_dims, mode, 0, 10000.0f, fs, ef, af, 1.0f, 1.0f); } + + // TODO: add test with a non-contiguous view as input ; this case is needed for build_rope_2d in clip.cpp } ggml_set_name(out, "out");