ggml-cuda 1.0.0-1~exp3
Package Information
| Description | Tensor 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. |
|---|---|
| Maintainer | Debian Deep Learning Team <debian-ai@lists.debian.org> |
| Changed By | Christian Kastner <ckk@debian.org> |
| Sponsor | ckk@debian.org |
| Distribution | experimental |
| Architecture | amd64 arm64 |
| VCS | git: https://salsa.debian.org/deeplearning-team/ggml.git (browse) |
| Popcon Installs | 12 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/ggml-cuda |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Distribution | experimental |
|---|---|
| Date | Sun, 15 Nov 2026 21:39:04 +0100 |
| Source | ggml-cuda |
| Version | 1.0.0-1~exp3 |
| Changed-By | Christian Kastner <ckk@debian.org> |
| Architecture | source 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
| Priority | optional |
|---|---|
| Component | contrib |
| Package-List | libggml1-backend-cuda deb contrib/libs optional arch=amd64,arm64 |
| Section | contrib/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/copyrightis 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 Corporationand// SPDX-License-Identifier: Apache-2.0. The only Apache-2.0 stanza listssrc/ggml-openvino/openvino/frontend.h,.../rt_info/weightless_caching_attributes.hppand.../op/moe_compressed.hpp(lines 50-54); no later stanza matches the two files, soFiles: *withLicense: Expat(lines 11-13) applies to them. - Problem:
copyright-format6.7: a Files stanza'sLicensefield gives the terms for the files it matches. These two headers are licensed under Apache-2.0 alone, not Expat, sodebian/copyrightstates 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_OPENVINOis off) does not change what their licence is. - Fix: Add
src/ggml-openvino/openvino/op/gather_matmul.hppandsrc/ggml-openvino/openvino/pass/mark_dequantization_subgraph.hto theCopyright: 2018-2026, Intel Corporation/License: Apache-2.0stanza, 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 exceptionforsrc/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.clandsrc/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 forLLVM,ApacheorSPDXfinds 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:fieldExpat, keeping both copyright holders; ifsrc/ggml-sycl/rope.cppreally contains LLVM-derived code, move it back under thesrc/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. TheFiles: *stanza givesCopyright: 2023-2026, The ggml authors; theFiles: src/ggml-sycl/*stanza does not match this path because it is underinclude/. - 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 completedebian/copyrightshould still give the right holder. - Fix: Add a stanza for
include/ggml-sycl.hwithCopyright: 2024, Intel CorporationandLicense: 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/controlpasses no options, so no test fails. - Fix: Use one prefix throughout (rename the code's variables to
GPUISOL_TEST_LAUNCHER_*, fixing theLANCHERtypo, or correct the usage text to the names the code reads).
Verified ◂
- Read
debian/copyrightin full: machine-readable DEP-5 with the canonicalFormat:line,Files: *plus six furtherFiles:stanzas, and standaloneLicense:paragraphs forpublic-domain,Expat,Apache-2.0andApache-2.0 with LLVM exception; noFiles-Excluded. - Licence inventory over the whole upstream tree:
LICENSE/AUTHORSMIT (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); fivesrc/ggml-openvino/openvino/headers Apache-2.0 (Intel);src/ggml-cpu/llamafile/sgemm.*Mozilla Expat;examples/stb_image.handexamples/stb_image_write.hpublic-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-commercialmatches (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 theirFiles:stanza matches them. - The prescan's holder check found every holder named; my own scan of all
Copyrightheaders undersrc/,include/,examples/,scripts/,ci/andcmake/found only the two mismatches reported as issues. - Patches: four patches with DEP-3
From:/Date:/Subject:andForwarded:orOrigin:fields.tests/test-alloc.cppandtests/test-gguf.cppare created byTake-over-some-tests-from-llama.cpp.patch; they are MIT llama.cpp tests covered byFiles: *(and the patch itself bydebian/*), so they need no stanza of their own. - Only
usr/lib/*/ggml/backends1/libggml-cuda.sois installed by the binary package (debian/libggml1-backend-cuda.install);usr/bin, headers, libggml libraries, pkgconfig and cmake files are listed indebian/not-installed, so everything outsidesrc/ggml-cuda/*is source-only here. - Binary data:
examples/sam/example.jpgandexamples/yolo/data/labels/*.png(glyphs used byexamples/yolo/yolov3-tiny.cpp) are example data, covered byFiles: *, not installed, and show no contrary notice. - Packaging: debhelper compat 13 with the
dhsequencer;${misc:Depends}/${shlibs:Depends}present;dh_missingdefaults to--fail-missingat compat 13 anddebian/not-installedcovers the deliberately dropped build products;dh_makeshlibs --no-scriptsfits a private plugin; the emptyoverride_dh_auto_testis consistent with GPU-only tests moved to autopkgtest. Conflicts: libggml1-backend-cudaon 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/controlis valid DEP-8;Classes: nvidia-gpuis informational, and thenvidiatest exits 77 underRestrictions: skippablewhen no GPU is present. debian/watchwas not reviewed, as instructed.- uscan found the packaged version as the newest upstream release (upstream
1.0.0, packaged1.0.0). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- The contrib build dependencies (
nvidia-cuda-toolkit-gcc, andlibggml-dev1.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/rulesand thedh_missingoutcome were reasoned from the files, not observed. - Whether
dpkg-architecture(used by thenvidiatest indebian/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
| Version | Hash | Allocated | Completed | Reviewer | Status | Details |
|---|---|---|---|---|---|---|
| 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 |