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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user