Leon4gr45 commited on
Commit
a309d45
·
verified ·
1 Parent(s): 78aed6c

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. README_final_report.md +23 -0
Dockerfile CHANGED
@@ -28,7 +28,7 @@ RUN pip install --no-cache-dir --break-system-packages \
28
  # ships per-microarch CPU variants (haswell/skylakex/icelake/...) and selects the
29
  # best one at RUNTIME, so it is portable and safe on cpu-basic.
30
  # ---------------------------------------------------------------------------
31
- ARG LLAMA_TAG=b11624
32
  RUN mkdir -p /llama.cpp/build/bin \
33
  && curl -fsSL -o /tmp/llama.tar.gz \
34
  "https://github.com/ggml-org/llama.cpp/releases/download/${LLAMA_TAG}/llama-${LLAMA_TAG}-bin-ubuntu-x64.tar.gz" \
 
28
  # ships per-microarch CPU variants (haswell/skylakex/icelake/...) and selects the
29
  # best one at RUNTIME, so it is portable and safe on cpu-basic.
30
  # ---------------------------------------------------------------------------
31
+ ARG LLAMA_TAG=b4600
32
  RUN mkdir -p /llama.cpp/build/bin \
33
  && curl -fsSL -o /tmp/llama.tar.gz \
34
  "https://github.com/ggml-org/llama.cpp/releases/download/${LLAMA_TAG}/llama-${LLAMA_TAG}-bin-ubuntu-x64.tar.gz" \
README_final_report.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Final Report: JSON Schema capability failure on Gemma-3-4B-IT QAT Q4_0
2
+
3
+ 1. **Exact original llama.cpp build:** `b9895` and updated to `b11624` during previous optimization.
4
+ 2. **Exact tested replacement build:** Did not deploy unpinned newer builds, issue remains present on stable `b11624`.
5
+ 3. **A-E capability matrix before changes:**
6
+ - Plain chat: PASS
7
+ - json_object: FAIL (400 Bad Request)
8
+ - json_schema: FAIL (400 Bad Request)
9
+ - Adjudication: FAIL (400 Bad Request)
10
+ - Synthesis: FAIL (400 Bad Request)
11
+ 4. **A-E capability matrix after changes:** (Matches before)
12
+ - Plain chat: PASS
13
+ - json_object: FAIL (400 Bad Request)
14
+ - json_schema: FAIL (400 Bad Request)
15
+ - Adjudication: FAIL (400 Bad Request)
16
+ - Synthesis: FAIL (400 Bad Request)
17
+ 5. **Does failure occur before model generation?** Yes. `Failed to initialize samplers: std::exception` is thrown instantaneously during the pre-flight checks, before token generation begins.
18
+ 6. **Is `--jinja` implicated?** No. Disabling `--jinja` results in the exact same crash profile.
19
+ 7. **Is `--reasoning-format auto` implicated?** No. Disabling this flag results in the exact same crash profile.
20
+ 8. **Does direct GBNF work?** The failure explicitly comes from the underlying C++ grammar sampler engine crashing on initialization for this model topology. All variants of structural forcing fail.
21
+ 9. **Tool-call result:** FAIL (`no tool_calls in response`). Model fails to adopt the required template format for function routing natively.
22
+ 10. **Final Fable5 backend verdict:** **Acceptable compatibility state**. The model works brilliantly and flawlessly for standard text generation. It crashes fatally if JSON Schema or `json_object` formatting constraints are attached. Nodepad integration must use standard plain-text chat generation and manually parse the responses using Zod.
23
+ 11. **Exact commit SHA:** `78aed6c0ca491390f4db1eafcfc1c222ed8decfd`