Skip to content

Commit 40326a1

Browse files
committed
Upgrade llama.cpp from b9219 to b9222
No source changes required. The b9219..b9222 diff is limited to: - Hexagon HTP backend: additive GGML_OP_PAD and GGML_OP_TRI support (new pad-ops.c, HVX-vectorised tri_f32; internal Qualcomm DSP only) - Dockerfile/CI: OCI image labels, skip_s390x workflow input All 417 C++ tests pass. https://claude.ai/code/session_012E3kENGEVkcQEuDba7pwzz
1 parent c6df516 commit 40326a1

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

CLAUDE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
66

77
Java bindings for [llama.cpp](https://github.com/ggerganov/llama.cpp) via JNI, providing a high-level API for LLM inference in Java. The Java layer communicates with a native C++ library through JNI.
88

9-
Current llama.cpp pinned version: **b9219**
9+
Current llama.cpp pinned version: **b9222**
1010

1111
## Upgrading CUDA Version
1212

@@ -301,6 +301,8 @@ Also review the project `CMakeLists.txt` for build-system-level breaks (e.g. ren
301301
| ~b9198–b9219 | upstream `CMakeLists.txt` | Backward-compat shim widened: `if(DEFINED LLAMA_BUILD_WEBUI AND NOT DEFINED LLAMA_BUILD_UI)``if(DEFINED LLAMA_BUILD_WEBUI)` — setting the old name now always forwards to the new one (and emits the existing `DEPRECATION` message). Project sets only `LLAMA_BUILD_WEBUI OFF CACHE BOOL "" FORCE` (`CMakeLists.txt:107`), behaviour unchanged |
302302
| ~b9198–b9219 | `ggml/src/ggml-cuda/ssm-conv.cu` + `top-k.cu` | Added kernel size 15 to SSM-conv launcher (now supports 3/4/5/9/15); `top-k.cu` includes `<cuda/iterator>` for CCCL ≥ 3.1; internal CUDA backend, no project changes |
303303
| ~b9198–b9219 | `ggml/src/ggml-sycl/ggml-sycl.cpp` + `vecdotq.hpp` | SYCL GEMM now falls back to direct MKL for small problems (gemm_flops < 256³); Q6_K dot product refactored to a single scalar fast-path helper `vec_dot_q6_K_q8_1_impl_mmvq_scalar`; internal SYCL backend, no project changes |
304+
| ~b9219–b9222 | `ggml/src/ggml-hexagon/` + `htp/pad-ops.c` (new) + `htp/unary-ops.c` | Hexagon HTP backend gains `GGML_OP_PAD` (HVX + optional VTCM/DMA double-buffered, both zero-pad and circular-pad variants) and `GGML_OP_TRI` (HVX-vectorised triangular masking) support; new `HTP_OP_PAD` / `HTP_OP_TRI` opcodes; internal Qualcomm DSP backend, no project changes |
305+
| ~b9219–b9222 | `.devops/*.Dockerfile` + `.github/workflows/docker.yml` | OCI image labels (`org.opencontainers.image.*`) added via `BUILD_DATE`/`APP_VERSION`/`APP_REVISION` build args; new `skip_s390x` workflow_dispatch input; manifest annotations on `docker buildx imagetools create`; upstream packaging/CI only, no project changes |
304306

305307
## Build Commands
306308

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ set(LLAMA_BUILD_WEBUI OFF CACHE BOOL "" FORCE)
108108
FetchContent_Declare(
109109
llama.cpp
110110
GIT_REPOSITORY https://github.com/ggerganov/llama.cpp.git
111-
GIT_TAG b9219
111+
GIT_TAG b9222
112112
)
113113
FetchContent_MakeAvailable(llama.cpp)
114114

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
**Build:**
22
![Java 11+](https://img.shields.io/badge/Java-11%2B-informational)
33
![JUnit](https://img.shields.io/badge/tested%20with-JUnit4-yellow)
4-
[![llama.cpp b9219](https://img.shields.io/badge/llama.cpp-%23b9219-informational)](https://github.com/ggml-org/llama.cpp/releases/tag/b9219)
4+
[![llama.cpp b9222](https://img.shields.io/badge/llama.cpp-%23b9222-informational)](https://github.com/ggml-org/llama.cpp/releases/tag/b9222)
55
[![Publish](https://github.com/bernardladenthin/java-llama.cpp/actions/workflows/publish.yml/badge.svg)](https://github.com/bernardladenthin/java-llama.cpp/actions/workflows/publish.yml)
66
[![CodeQL](https://github.com/bernardladenthin/java-llama.cpp/actions/workflows/codeql.yml/badge.svg)](https://github.com/bernardladenthin/java-llama.cpp/actions/workflows/codeql.yml)
77

0 commit comments

Comments
 (0)