From 1d8894b7bcdfcf0f9162959acc575c2ed7594fd0 Mon Sep 17 00:00:00 2001 From: Derek Holloway Date: Wed, 9 Sep 2026 18:24:03 -0700 Subject: [PATCH] 16 cores --- comfyui-rocm-dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comfyui-rocm-dockerfile b/comfyui-rocm-dockerfile index a0e08fe..f3311a8 100644 --- a/comfyui-rocm-dockerfile +++ b/comfyui-rocm-dockerfile @@ -18,9 +18,9 @@ RUN apt-get update && apt-get install -y \ WORKDIR /app 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 --build build --parallel $(nproc) +RUN cmake --build build --parallel 16 # Build the main Go application binary RUN go build -o ollama .