mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 03:24:30 +00:00
ci: avoid cuda docker build timeout by using -j16
This commit is contained in:
1 parent
acc3bf1fdc
commit
61d8331ef3
1 file changed
+1
-1
+1
-1
@@ -11,7 +11,7 @@ COPY . .
|
|||||||
|
|
||||||
ARG CUDACXX=/usr/local/cuda/bin/nvcc
|
ARG CUDACXX=/usr/local/cuda/bin/nvcc
|
||||||
RUN cmake . -B ./build -DSD_CUDA=ON
|
RUN cmake . -B ./build -DSD_CUDA=ON
|
||||||
RUN cmake --build ./build --config Release --parallel
|
RUN cmake --build ./build --config Release -j$(nproc)
|
||||||
|
|
||||||
FROM nvidia/cuda:${CUDA_VERSION}-cudnn-runtime-ubuntu${UBUNTU_VERSION} AS runtime
|
FROM nvidia/cuda:${CUDA_VERSION}-cudnn-runtime-ubuntu${UBUNTU_VERSION} AS runtime
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user