Repository navigation
fix(llamacpp): pin stable v1.0.0 with JSON nesting fixes - #1113
Merged
Merged
Conversation
Signed-off-by: Dorin Geman <[email protected]>
Contributor
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="Dockerfile" line_range="4" />
<code_context>
ARG GO_VERSION=1.26.10
-ARG LLAMA_SERVER_VERSION=b9879
+ARG LLAMA_SERVER_VERSION=b12429
ARG LLAMA_SERVER_VARIANT=cpu
-ARG LLAMA_UPSTREAM_IMAGE=ghcr.io/ggml-org/llama.cpp:server-vulkan-b9879
</code_context>
<issue_to_address>
**Native installs still crash**
When a macOS or Windows install uses its default backend and receives deeply nested JSON, `pinnedServerVersion` remains `b9879`, so native install paths download the old backend and its copy/serialization stack overflow crashes the request.
Update `pinnedServerVersion` to `b12429` to match the new backend version.
</issue_to_address>|
|
||
| ARG GO_VERSION=1.26.10 | ||
| ARG LLAMA_SERVER_VERSION=b9879 | ||
| ARG LLAMA_SERVER_VERSION=b12429 |
Contributor
There was a problem hiding this comment.
🟡 Medium · Native installs still crash
When a macOS or Windows install uses its default backend and receives deeply nested JSON, pinnedServerVersion remains b9879, so native install paths download the old backend and its copy/serialization stack overflow crashes the request.
Update pinnedServerVersion to b12429 to match the new backend version.
Prompt for AI agents
In `Dockerfile` at line 4:
**Native installs still crash**
When a macOS or Windows install uses its default backend and receives deeply nested JSON, `pinnedServerVersion` remains `b9879`, so native install paths download the old backend and its copy/serialization stack overflow crashes the request.
Update `pinnedServerVersion` to `b12429` to match the new backend version.Signed-off-by: Dorin Geman <[email protected]>
Signed-off-by: Dorin Geman <[email protected]>
Contributor
|
Merged, thanks. Follow-ups: bump |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pin native llama.cpp and the Linux backend images to the official stable v1.0.0 release, which is the same commit as b12359 (
b1b770d90d94cad9e9ea5b993bdbc383a522fb28). Linux currently uses b9879, whose vendored JSON implementation can crash when copying or serializing deeply nested input. Stable v1.0.0 includes the fixes backported in llama.cpp #30253 for nlohmann/json #5387.v1.0.0-b12359-b1b770dand teach the image resolver to accept and validate that format.LLAMA_BUILD_IS_DEV=OFFso the binary reports the release version.vX.Y.Ztags by default, while preserving explicit tag overrides. Peel annotated release tags to commits before comparing or checking out.Validation:
make validate-allpassed.1.0.0 (build 804, commit b1b770d90).Full multi-platform container builds and GPU inference were not run locally.