feat: apply upstream llama.cpp patch to fix Gemma-4 inference issues
This commit is contained in:
@@ -62,6 +62,7 @@ RUN git clone -b ${BRANCH} --single-branch --recursive ${REPO} . \
|
||||
COPY llama-grammar.patch /tmp/llama-grammar.patch
|
||||
|
||||
RUN patch -p1 < /tmp/llama-grammar.patch \
|
||||
&& curl -sSL https://github.com/ggml-org/llama.cpp/pull/21506.patch | patch -p1 \
|
||||
&& cmake -S . -B build \
|
||||
-DGGML_HIP=ON \
|
||||
-DAMDGPU_TARGETS=gfx1151 \
|
||||
|
||||
Reference in New Issue
Block a user