16 cores
Docker Build and Release Upload / build-vulkan (push) Failing after 1m22s
Docker Build and Release Upload / build-uvicorn (push) Canceled after 0s
Docker Build and Release Upload / build-cuda (push) Canceled after 1m6s

This commit is contained in:
derek committed 2026-09-09 18:24:03 -07:00
1 parent c08ca3bf7c
commit 1d8894b7bc
1 file changed
+2 -2
+2 -2
View File
@@ -18,9 +18,9 @@ RUN apt-get update && apt-get install -y \
WORKDIR /app WORKDIR /app
RUN git clone --recursive https://github.com/ollama/ollama.git . RUN git clone --recursive https://github.com/ollama/ollama.git .
# Configure and build using Ollama's native Vulkan backend flag # Configure and safely build with constrained parallelism to protect 96GB RAM
RUN cmake -B build . -DOLLAMA_LLAMA_BACKENDS="vulkan" -DCMAKE_BUILD_TYPE=Release RUN cmake -B build . -DOLLAMA_LLAMA_BACKENDS="vulkan" -DCMAKE_BUILD_TYPE=Release
RUN cmake --build build --parallel $(nproc) RUN cmake --build build --parallel 16
# Build the main Go application binary # Build the main Go application binary
RUN go build -o ollama . RUN go build -o ollama .