Skip to content

ci: add linux-x64-cuda-13.3 build (dev + release)#40

Merged
worthant merged 2 commits into
devfrom
feature/linux-cuda-build
Jul 22, 2026
Merged

ci: add linux-x64-cuda-13.3 build (dev + release)#40
worthant merged 2 commits into
devfrom
feature/linux-cuda-build

Conversation

@worthant

Copy link
Copy Markdown
Member

Linux currently ships only linux-x64-vulkan; NVIDIA users never get native CUDA kernels — including native FP4 on Blackwell, which the Vulkan path cannot use (fp4: 0 in device caps, verified on a rented RTX 5090).

Adds a linux-x64-cuda-13.3 job to dev-build.yml and release-turboquant.yml, mirroring the Windows cuda-13.3 variant:

  • GGML_BACKEND_DL=ON: CUDA backend is a dlopen'd libggml-cuda.so next to the CPU variants — one archive, backend picked at runtime
  • CMAKE_CUDA_ARCHITECTURES=80;86;89;90;120 (A100 / RTX 30 / RTX 40 / H100+H200 / RTX 50)
  • bundles libcudart/libcublas/libcublasLt like the Windows job bundles the DLLs
  • new asset: llama-turboquant-linux-x64-cuda-13.3.{tar.gz,zip}, artifact archive-linux-x64-cuda-13.3, added to both publish jobs' needs

Note: first CI run builds cold (no ccache) — expect the new job to take a while; subsequent runs drop to minutes. The job is intentionally NOT in the required-checks list yet — add it after it proves stable.

After merge the plan is: manually smoke the new artifact on a rented 5090 (native FP4 path), then wire both linux artifacts into the upcoming backend-smoke.yml.

Linux until now shipped only the Vulkan backend; NVIDIA users got the
dequant path and no access to native CUDA kernels (incl. FP4 on
Blackwell). Add a CUDA 13.3 build mirroring the Windows cuda-13.3
variant: GGML_BACKEND_DL keeps it a dlopen'd libggml-cuda.so next to the
CPU variants, cudart/cublas are bundled like the Windows DLLs, archs
cover A100/RTX30/RTX40/H100/RTX50 (80;86;89;90;120).
@worthant
worthant merged commit f2757df into dev Jul 22, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant