mirror of
https://github.com/lemonade-sdk/llama.cpp.git
synced 2026-11-22 19:59:26 -10:00
The Linux CUDA jobs installed the cuda-toolkit-12-9 metapackage, which pulls Nsight Systems, Nsight Compute, cuFFT, cuSPARSE, cuSOLVER and NPP along with the pieces ggml-cuda is actually compiled against. That is "Need to get 3935 MB of archives" on every one of the 16 Linux CUDA legs, none of it cached. Resolve the dependency closure by hand instead: nvcc, cudart-dev (which also supplies the libcuda.so stub behind CUDA::cuda_driver), cccl for the thrust/cub headers, and cublas/curand/nvjitlink -dev. That is 16 packages and ~1.2 GB against 61 packages and ~3.9 GB, and it still satisfies the Build, Bundle CUDA runtime libraries and Validate steps. None of the subset declares Recommends, so nothing sneaks back in. Add a post-install existence check over nvcc and the specific headers and libraries the later steps consume, so a repackaging upstream fails at the install step naming the missing file rather than partway through a compile. This matches what windows-cuda already does, where Jimver/cuda-toolkit is invoked with an explicit sub-packages list. Co-Authored-By: Claude Opus 5 <[email protected]>