From dc6b7a2b3fa7554246ad862f59ec8edd0d2124f6 Mon Sep 17 00:00:00 2001 From: "Vitor A. M. Jorge" Date: Thu, 22 Oct 2026 16:07:23 -0300 Subject: [PATCH] fix(license): add the parakeet.cpp notice to llama_log_shim.cpp scripts/check_license_headers.py requires every file under src/runtime/ggml/ to carry the parakeet.cpp notice, as THIRD_PARTY_NOTICES.md lists that directory as derived from it. llama_log_shim.cpp, added in #47, has only the NVIDIA header, so the license-headers pre-commit hook fails on main and on every pull request based on it. The shim formats llama.cpp's log calls into the parakeet-derived ggml_runtime::log_internal (logging.cpp), so this follows the directory's convention. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Vitor A. M. Jorge --- src/runtime/ggml/llama_log_shim.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/runtime/ggml/llama_log_shim.cpp b/src/runtime/ggml/llama_log_shim.cpp index 8fccd003..d9fdbe8b 100644 --- a/src/runtime/ggml/llama_log_shim.cpp +++ b/src/runtime/ggml/llama_log_shim.cpp @@ -1,6 +1,10 @@ // SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-License-Identifier: Apache-2.0 // +// Portions derived from parakeet.cpp: +// Copyright (c) 2025 Jason Ni +// Licensed under the MIT License. See THIRD_PARTY_NOTICES.md. +// // llama-mmap.cpp (reused by GGUFLoader) logs via LLAMA_LOG_*; this supplies // the one symbol it needs without linking llama-impl.cpp (format() clash). #include