Browse Source

ci: be more aggressive on parallelism in build (#8102)

jmorganca/qwen2vl v0.5.3-rc0
Daniel Hiltgen 2 years ago
committed by GitHub
parent
commit
b75ccfc5ec
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      Dockerfile

2
Dockerfile

@ -69,7 +69,7 @@ ARG OLLAMA_FAST_BUILD
ARG VERSION
RUN --mount=type=cache,target=/root/.ccache \
if grep "^flags" /proc/cpuinfo|grep avx>/dev/null; then \
make -j $(expr $(nproc) / 2 ) dist ; \
make -j $(nproc) dist ; \
else \
make -j 5 dist ; \
fi

Loading…
Cancel
Save