Fixed painfully slow single process builds. (#7326)

* Fixed painfully slow single process builds.

* Added nproc for systems that don't default to nproc
This commit is contained in:
JohnnyB authored and GitHub committed 2024-05-30 22:32:38 +02:00
1 parent 5921b8f089
commit 9022c33646
9 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ ENV CUDA_DOCKER_ARCH=${CUDA_DOCKER_ARCH}
# Enable CUDA
ENV LLAMA_CUDA=1
RUN make
RUN make -j$(nproc)
FROM ${BASE_CUDA_RUN_CONTAINER} as runtime