From 3f8b47a0f00f83300c2ce014c3bf4886a93f8dac Mon Sep 17 00:00:00 2001 From: Dorin Geman Date: Mon, 6 Apr 2026 14:28:53 +0300 Subject: [PATCH] ci(cuda): limit parallel jobs to avoid OOM during CUDA build Signed-off-by: Dorin Geman --- llamacpp/native/cuda.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llamacpp/native/cuda.Dockerfile b/llamacpp/native/cuda.Dockerfile index 077d3de9f..4e79ef61e 100644 --- a/llamacpp/native/cuda.Dockerfile +++ b/llamacpp/native/cuda.Dockerfile @@ -37,7 +37,7 @@ RUN echo "-B build \ -GNinja \ -S ." > cmake-flags RUN cmake $(cat cmake-flags) -RUN cmake --build build --config Release +RUN cmake --build build --config Release -j$(nproc --ignore=2) RUN cmake --install build --config Release --prefix install RUN rm install/bin/*.py