DFSG NEW Queue

DFSG, Licensing & New Packages Team

ggml-cuda 1.0.0-1~exp3

Package Information

DescriptionTensor library for machine learning - CUDA backend

ggml is a tensor library for machine learning with the following features:

* Low-level cross-platform implementation * Integer quantization support * Broad hardware support * Automatic differentiation * ADAM and L-BFGS optimizers * No third-party dependencies * Zero memory allocations during runtime

On Debian, ggml is shipped as a package that depends on one of the CPU or GPU backends.

This package provides the CUDA backend, for NVIDIA GPUs.

MaintainerDebian Deep Learning Team <debian-ai@lists.debian.org>
Changed ByChristian Kastner <ckk@debian.org>
Sponsorckk@debian.org
Distributionexperimental
Architectureamd64 arm64
VCSgit: https://salsa.debian.org/deeplearning-team/ggml.git (browse)
Popcon Installs12
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/ggml-cuda
Uploaded3 hours ago

New Package Report

.changes◂
Distributionexperimental
DateSun, 15 Nov 2026 21:39:04 +0100
Sourceggml-cuda
Version1.0.0-1~exp3
Changed-ByChristian Kastner <ckk@debian.org>
Architecturesource amd64
Changelog◂
ggml-cuda (1.0.0-1~exp3) experimental; urgency=medium
 .
   * Rebuild src:ggml as src:ggml-cuda with CUDA (non-free) enabled
     - Automatically generated by src:ggml :: debian/switch-ggml-cuda.sh
     - Please observe README.Source when making changes
     - Changelog entries below are from src:ggml
 .
   * alt-builds: Fix main libggml dependency version
     This was buggy, resulting in too strict dependencies for backports
   * Drop Downgrade-ROCm-dependency-to-5.5.patch
     Upstream has progressed far enough that this patch is no longer tenable
   * Replace HIP patch with proper fix from upstream
.dsc◂
Priorityoptional
Componentcontrib
Package-Listlibggml1-backend-cuda deb contrib/libs optional arch=amd64,arm64
Sectioncontrib/libs
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ggml
Source: https://github.com/ggml-org/ggml
Comment:
 CUDA
 ----
 This source package can be converted to src:ggml-cuda, for building the CUDA
 backend (a single .so). The source is binary-identical, all that changes is
 that debian/{control,rules,not-installed) are swapped.

Files: *
Copyright: 2023-2026, The ggml authors
License: Expat

Files: debian/*
Copyright: 2025-2026, Christian Kastner <ckk@debian.org>
           2025-2026, Mathieu Baudier <mbaudier@argeo.org>
           2025, Mo Zhou <lumin@debian.org>
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
Comment:
 ------------------------------------------------------------------------------
 This software is available under 2 licenses -- choose whichever you prefer.
 ------------------------------------------------------------------------------
 ALTERNATIVE A - MIT License
 ------------------------------------------------------------------------------
 ALTERNATIVE B - Public Domain (www.unlicense.org)
 ------------------------------------------------------------------------------

Files: src/ggml-sycl/*
Copyright: 2024-2025, Intel Corporation
           2025, Codeplay Software Ltd.
License: Expat and Apache-2.0 with LLVM exception

Files: src/ggml-cpu/ops.cpp
       src/ggml-cuda/rope.cu
       src/ggml-hexagon/htp/rope-ops.c
       src/ggml-metal/kernels/rope.metal
       src/ggml-opencl/kernels/rope.cl
       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

Files: src/ggml-openvino/openvino/frontend.h
       src/ggml-openvino/openvino/rt_info/weightless_caching_attributes.hpp
       src/ggml-openvino/openvino/op/moe_compressed.hpp
Copyright: 2018-2026, Intel Corporation
License: Apache-2.0
Comment: These files are not used by our build. They are kept solely to avoid
 the otherwise necessary repacking.

Files: src/ggml-cpu/kleidiai/*
Copyright: 2025-2026, Arm Limited and/or its affiliates <open-source-office@arm.com>
License: Expat

Files: src/ggml-cpu/llamafile/sgemm.*
Copyright: 2024, Mozilla Foundation
License: Expat

License: public-domain
 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,
 commercial or non-commercial, and by any means.
 In jurisdictions that recognize copyright laws, the author or authors of this
 software dedicate any and all copyright interest in the software to the public
 domain. We make this dedication for the benefit of the public at large and to
 the detriment of our heirs and successors. We intend this dedication to be an
 overt act of relinquishment in perpetuity of all present and future rights to
 this software under copyright law.
 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 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.

License: Expat
 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.

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
 .
 http://www.apache.org/licenses/LICENSE-2.0
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the Apache version 2.0 license
 can be found in "/usr/share/common-licenses/Apache-2.0".

License: Apache-2.0 with LLVM exception
 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
 .
 http://www.apache.org/licenses/LICENSE-2.0
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the Apache version 2.0 license
 can be found in "/usr/share/common-licenses/Apache-2.0".
 .
 ---- LLVM Exceptions to the Apache 2.0 License ----
 .
 As an exception, if, as a result of your compiling your source code, portions
 of this Software are embedded into an Object form of such source code, you
 may redistribute such embedded portions in such Object form without complying
 with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
 .
 In addition, if you combine or link compiled forms of this Software with
 software that is licensed under the GPLv2 ("Combined Software") and if a
 court of competent jurisdiction determines that the patent provision (Section
 3), the indemnity provision (Section 9) or other Section of the License
 conflicts with the conditions of the GPLv2, you may retroactively and
 prospectively choose to deem waived or otherwise exclude such Section(s) of
 the License, but only in their entirety and only with respect to the Combined
 Software.
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the Apache version 2.0 license
 can be found in "/usr/share/common-licenses/Apache-2.0".

DFSG Assistant LLM REVIEW 1 blocker, 0 important, 3 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 1 hour ago.

Report◂

DFSG NEW review for ggml-cuda version 1.0.0-1~exp3

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 1 blocker, 0 important, 3 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 3 found

Licensing

All the code is under free licences: Expat for the bulk of the tree, Apache-2.0 for five OpenVINO headers and Apache-2.0 with LLVM exception (alongside MIT) for the SYCL backend, Expat for the Arm KleidiAI and Mozilla llamafile parts, and public-domain-or-MIT for the two stb files, so nothing offends the DFSG. The machine-readable debian/copyright is, however, inaccurate for a group of files: two Apache-2.0-only OpenVINO headers fall through to the Expat Files: * stanza, the rope stanza claims an additional Apache-2.0 licence the files do not carry, and include/ggml-sycl.h is attributed to the wrong holder.

Packaging

Dependencies, the compat-13 dh packaging, the private-plugin install layout, the DEP-3 patches, the changelog and the autopkgtests are all in order, and the self-Conflicts is the Policy 7.4-sanctioned way to keep a single provider of libggml1-backend-cuda rather than a bug. The only defect found is minor: the autopkgtest helper documents environment variables it never reads.

Issues

blocker licensing 1. Files: * (Expat) covers two Apache-2.0 OpenVINO headers that the Apache-2.0 stanza omits ◂
  • Files: debian/copyright:11-13, debian/copyright:50-54, src/ggml-openvino/openvino/op/gather_matmul.hpp:1-2, src/ggml-openvino/openvino/pass/mark_dequantization_subgraph.h:1-2
  • Basis: checked, in the package or with a reference tool
  • Evidence: Both files start with // Copyright (C) 2018-2026 Intel Corporation and // SPDX-License-Identifier: Apache-2.0. The only Apache-2.0 stanza lists src/ggml-openvino/openvino/frontend.h, .../rt_info/weightless_caching_attributes.hpp and .../op/moe_compressed.hpp (lines 50-54); no later stanza matches the two files, so Files: * with License: Expat (lines 11-13) applies to them.
  • Problem: copyright-format 6.7: a Files stanza's License field gives the terms for the files it matches. These two headers are licensed under Apache-2.0 alone, not Expat, so debian/copyright states the wrong licence for them. That is not a DFSG problem (Apache-2.0 is free and its text is present), but the file is inaccurate and the source package is distributed with it; that they are not built here (GGML_OPENVINO is off) does not change what their licence is.
  • Fix: Add src/ggml-openvino/openvino/op/gather_matmul.hpp and src/ggml-openvino/openvino/pass/mark_dequantization_subgraph.h to the Copyright: 2018-2026, Intel Corporation / License: Apache-2.0 stanza, or give them a stanza of their own.
minor licensing 2. The rope stanza claims Apache-2.0 with LLVM exception for files that carry only the MIT YaRN notice ◂
  • Files: debian/copyright:40-48, src/ggml-cpu/ops.cpp:6082, src/ggml-cuda/rope.cu:20-21, src/ggml-hexagon/htp/rope-ops.c, src/ggml-metal/kernels/rope.metal:12-13, src/ggml-opencl/kernels/rope.cl:12-13
  • Basis: inferred from what was read, not seen directly
  • Evidence: debian/copyright:48: License: Expat and Apache-2.0 with LLVM exception for src/ggml-cpu/ops.cpp, src/ggml-cuda/rope.cu, src/ggml-hexagon/htp/rope-ops.c, src/ggml-metal/kernels/rope.metal, src/ggml-opencl/kernels/rope.cl and src/ggml-sycl/rope.cpp. The files carry only // YaRN algorithm based on ... / // MIT licensed. Copyright (c) 2023 Jeffrey Quesnelle and Bowen Peng.; a search of all six for LLVM, Apache or SPDX finds nothing.
  • Problem: The stanza says the Apache-2.0-with-LLVM-exception terms apply to these files, but their only licence statement is MIT and none shows any Apache or LLVM notice. The extra licence is conservative rather than dangerous (both are free and the Expat grant is stated first), but the copyright file still misstates their terms.
  • Fix: Make the stanza's License: field Expat, keeping both copyright holders; if src/ggml-sycl/rope.cpp really contains LLVM-derived code, move it back under the src/ggml-sycl/* stanza or give it a separate stanza.
minor licensing 3. Files: * attributes include/ggml-sycl.h to The ggml authors, but its notice names Intel Corporation ◂
  • Files: debian/copyright:11-13, include/ggml-sycl.h:1-5
  • Basis: checked, in the package or with a reference tool
  • Evidence: include/ggml-sycl.h:1-5: // MIT license / // Copyright (C) 2024 Intel Corporation / // SPDX-License-Identifier: MIT. The Files: * stanza gives Copyright: 2023-2026, The ggml authors; the Files: src/ggml-sycl/* stanza does not match this path because it is under include/.
  • Problem: The holder Debian names for this file is wrong: its notice names Intel Corporation. Policy 2.3 does not require the notice here because this source package's only binary installs just usr/lib/*/ggml/backends1/libggml-cuda.so, so the header is neither shipped nor compiled into a binary, and its notice is intact; a complete debian/copyright should still give the right holder.
  • Fix: Add a stanza for include/ggml-sycl.h with Copyright: 2024, Intel Corporation and License: Expat.
minor packaging 4. debian/tests/gpuisol-test-launcher documents GPUISOL_TEST_LAUNCHER_* but reads ROCM_TEST_LAUNCHER_* ◂
  • Files: debian/tests/gpuisol-test-launcher:33-45, debian/tests/gpuisol-test-launcher:117-124
  • Basis: checked, in the package or with a reference tool
  • Evidence: Usage text: GPUISOL_TEST_LANCHER_WITH_DMESG, GPUISOL_TEST_LAUNCHER_WITH_AMD_DRI[=PATH], GPUISOL_TEST_LAUNCHER_WITH_AMD_ROCMINFO. Code: if [ -n "${ROCM_TEST_LAUNCHER_WITH_DMESG+x}" ], dri_path="${ROCM_TEST_LAUNCHER_WITH_AMD_DRI}", if [ -n "${ROCM_TEST_LAUNCHER_WITH_AMD_ROCMINFO+x}" ].
  • Problem: Setting the documented variables has no effect, and the variables the script does honour are undocumented, so the dmesg/firmware/rocminfo artifact options cannot be enabled as described. It is latent for this package because debian/tests/control passes no options, so no test fails.
  • Fix: Use one prefix throughout (rename the code's variables to GPUISOL_TEST_LAUNCHER_*, fixing the LANCHER typo, or correct the usage text to the names the code reads).
Verified ◂
  • Read debian/copyright in full: machine-readable DEP-5 with the canonical Format: line, Files: * plus six further Files: stanzas, and standalone License: paragraphs for public-domain, Expat, Apache-2.0 and Apache-2.0 with LLVM exception; no Files-Excluded.
  • Licence inventory over the whole upstream tree: LICENSE/AUTHORS MIT (The ggml authors); most files Expat; src/ggml-cpu/kleidiai/* SPDX MIT (Arm); src/ggml-sycl/* dual MIT/Apache-2.0 with LLVM exception (Intel, Codeplay); five src/ggml-openvino/openvino/ headers Apache-2.0 (Intel); src/ggml-cpu/llamafile/sgemm.* Mozilla Expat; examples/stb_image.h and examples/stb_image_write.h public-domain-or-MIT (Sean Barrett). No GPL/LGPL/BSD/MPL/zlib/CC0/CC-BY, non-commercial, no-modification or field-of-use wording anywhere else.
  • Prescan hits accounted for: the three commercial or non-commercial matches (debian/copyright:70, examples/stb_image.h:7973, examples/stb_image_write.h:1710) are the Unlicense public-domain dedication — a grant of rights, not a restriction; both stb files are dual public-domain/MIT with their notice retained, and their Files: stanza matches them.
  • The prescan's holder check found every holder named; my own scan of all Copyright headers under src/, include/, examples/, scripts/, ci/ and cmake/ found only the two mismatches reported as issues.
  • Patches: four patches with DEP-3 From:/Date:/Subject: and Forwarded: or Origin: fields. tests/test-alloc.cpp and tests/test-gguf.cpp are created by Take-over-some-tests-from-llama.cpp.patch; they are MIT llama.cpp tests covered by Files: * (and the patch itself by debian/*), so they need no stanza of their own.
  • Only usr/lib/*/ggml/backends1/libggml-cuda.so is installed by the binary package (debian/libggml1-backend-cuda.install); usr/bin, headers, libggml libraries, pkgconfig and cmake files are listed in debian/not-installed, so everything outside src/ggml-cuda/* is source-only here.
  • Binary data: examples/sam/example.jpg and examples/yolo/data/labels/*.png (glyphs used by examples/yolo/yolov3-tiny.cpp) are example data, covered by Files: *, not installed, and show no contrary notice.
  • Packaging: debhelper compat 13 with the dh sequencer; ${misc:Depends}/${shlibs:Depends} present; dh_missing defaults to --fail-missing at compat 13 and debian/not-installed covers the deliberately dropped build products; dh_makeshlibs --no-scripts fits a private plugin; the empty override_dh_auto_test is consistent with GPU-only tests moved to autopkgtest.
  • Conflicts: libggml1-backend-cuda on the same package (debian/control:25) is covered by Policy 7.4's special exception for a package conflicting with its own name, so it neither prevents installation nor prevents another provider of that name from being the replacement.
  • Standards-Version 4.7.4 is current against the reviewing system's Policy 4.7.4.1 (first two components match). debian/tests/control is valid DEP-8; Classes: nvidia-gpu is informational, and the nvidia test exits 77 under Restrictions: skippable when no GPU is present.
  • debian/watch was not reviewed, as instructed.
  • uscan found the packaged version as the newest upstream release (upstream 1.0.0, packaged 1.0.0).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • The contrib build dependencies (nvidia-cuda-toolkit-gcc, and libggml-dev 1.0.0 which is presumably in NEW) are not in the reviewing system's package lists, so their availability and versions could not be verified.
  • No build was run; the CUDA configuration in debian/rules and the dh_missing outcome were reasoned from the files, not observed.
  • Whether dpkg-architecture (used by the nvidia test in debian/tests/control:11) is present in a bare autopkgtest testbed could not be checked.
  • The contents of the binary files (JPEG and PNGs) were not inspected, per instructions.
Proposed changes ◂

None.

Uploader's response to the LLM review

Waiting for the uploader's response until , because the review found serious issues.

Other Reviews of this Package

VersionHashAllocatedCompletedReviewerStatusDetails
0.9.6-3~exp1 9fa7a764… 2026-02-10 08:40 2026-02-10 08:47 awm accepted VIEW
0.9.5-3~exp1 2026-02-10 23:46 2026-02-10 23:48 awm accepted VIEW
0.9.4-7~exp2 226abe9c… 2026-02-11 01:55 2026-02-11 01:55 awm accepted VIEW
0.9.4-7~exp1 3886aa3d… 2026-02-11 01:55 2026-02-11 01:55 awm accepted VIEW

Back to Dashboard | View all reviews for this package