Re: llama.cpp, whisper.cpp, ggml: Next steps
[Petter Reinholdtsen]
> Via <URL: https://lists.debian.org/debian-devel/2025/03/msg00183.html >
> I came across the lrc tool from the licenserecon package, and using it
> on whisper.cpp I found a few issues. Most of them were copied from
> the d/copyright file on ggml/, and should be fixed there.
I fixed one missing entry for examples/stb_image_write.h and commited it
to master.
lrc still complain about the following:
public-domain or Expat| Expat and/or Unlicense examples/stb_image.h
public-domain or Expat| Expat and/or Unlicense examples/stb_image_write.h
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/backend.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/common.cpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/common.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/concat.cpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/concat.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/conv.cpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/conv.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/convert.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/dequantize.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/dmmv.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/dpct/helper.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/gemm.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/getrows.cpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/getrows.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/ggml-sycl.cpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/im2col.cpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/im2col.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/mmq.cpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/mmq.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/mmvq.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/norm.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/presets.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/rope.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/softmax.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/tsembd.cpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/tsembd.hpp
Expat and Apache-2.0 with LLVM exception| Apache-2.0 and/or Expat src/ggml-sycl/vecdotq.hpp
The following patch get rid of these, but I am not conviced it is an
improvement:
diff --git a/debian/copyright b/debian/copyright
index caefc31..5b898bb 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -20,7 +20,7 @@ License: Expat
Files: examples/stb_image.h examples/stb_image_write.h
Copyright: Placed in the public domain; alternatively:
2017, Sean Barrett
-License: public-domain or Expat
+License: Expat and/or Unlicense
Comment:
------------------------------------------------------------------------------
This software is available under 2 licenses -- choose whichever you prefer.
@@ -32,7 +32,7 @@ Comment:
Files: src/ggml-sycl/*
Copyright: 2024, Intel Corporation
-License: Expat and Apache-2.0 with LLVM exception
+License: Apache-2.0 and/or Expat
Files: src/ggml-cpu/ggml-cpu.c
src/ggml-cuda/rope.cu
@@ -42,9 +42,9 @@ Files: src/ggml-cpu/ggml-cpu.c
src/ggml-sycl/rope.cpp
Copyright: 2023-2024, The ggml authors
2023, Jeffrey Quesnelle and Bowen Peng
-License: Expat and Apache-2.0 with LLVM exception
+License: Apache-2.0 and/or Expat
-License: public-domain
+License: Unlicense
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
software, either in source code form or as a compiled binary, for any purpose,
@@ -81,7 +81,7 @@ License: Expat
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-License: Apache-2.0 with LLVM exception
+License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
--
Happy hacking
Petter Reinholdtsen
Reply to: