Skip to content

Commit 3f8b47a

Browse files
committed
ci(cuda): limit parallel jobs to avoid OOM during CUDA build
Signed-off-by: Dorin Geman <dorin.geman@docker.com>
1 parent 92ac506 commit 3f8b47a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

llamacpp/native/cuda.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN echo "-B build \
3737
-GNinja \
3838
-S ." > cmake-flags
3939
RUN cmake $(cat cmake-flags)
40-
RUN cmake --build build --config Release
40+
RUN cmake --build build --config Release -j$(nproc --ignore=2)
4141
RUN cmake --install build --config Release --prefix install
4242

4343
RUN rm install/bin/*.py

0 commit comments

Comments
 (0)