Hi Christian, On Sat, Mar 21, 2026 at 08:49:38AM +0100, Christian Kastner wrote: > * libggml0-backend-all would not be allowed to depend on > libggml0-backend-cuda, which I expect to be the most popular > backend. So this could be a bit counterintuitive (though xorg > has a similar problem, and people seem to be able to deal with it).
I see I didn't look far enough. This is generally unsolvable due to policy section 2.2.1. The intention of that section is that installing a main package cannot pull a non-main package by default. If ggml were somehow managing to express a dependency on cuda, it would immediately violate that section. An alternative might be picking the blas (or vulkan) backend by default as it is less hardware-specific than the others and recommending "libggml0-backend-blas | libggml0-backend". Yeah, this does not solve the original problem, but as we saw the original problem cannot be solved unless putting ggml to contrib or changing Debian policy. Helmut

