From a2d979b9990faf4df8edd3107ad6717c519ff380 Mon Sep 17 00:00:00 2001 From: havok2-htwo Date: Sun, 11 Oct 2026 21:35:39 +0200 Subject: [PATCH] prefill mmq tab: moe_mmq_tab.cuh carries ggml's MIT notice The file mirrors parts of llama.cpp's ggml-cuda mmq.cuh; like the other ggml-derived kernels (native_moe.cu etc.) it now includes the copyright and permission notice the MIT license asks for. Comment only. --- src/prefill/moe_mmq_tab.cuh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/prefill/moe_mmq_tab.cuh b/src/prefill/moe_mmq_tab.cuh index d348920a..3bd0742a 100644 --- a/src/prefill/moe_mmq_tab.cuh +++ b/src/prefill/moe_mmq_tab.cuh @@ -23,6 +23,27 @@ // CMake turns STRATA_MMQ_TAB off unless the SHA-256 of mmq.cuh's mirrored region (mul_mat_q_process_tile through // mul_mat_q_case, which includes struct mmq_args) is one this copy was verified against; when the llama.cpp pin // moves, re-sync this file, re-run the test and record the new hash in CMakeLists.txt (_strata_mmq_tab_known). +// +// MIT License +// Copyright (c) 2023-2026 The ggml authors +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. #pragma once #include "mmq.cuh"