Skip to content

Commit 7154620

Browse files
committed
feat(ggml-org.llamacpp): b10069.1 -- backend-vulkan, on an unchanged checkpoint
A wrapper revision rather than a new checkpoint: the vendored llama.cpp is still b10069, and `docs/upstream-update-policy.md` in that repository gives a dotted revision to exactly this case. What it adds is `backend-vulkan`, an additive feature over `backend-cpu`. A consumer writes one line: llamacpp = { version = "b10069.1", features = ["backend-vulkan"] } and the shader compiler, the Khronos loader, the SPIR-V headers and the adapter that lets a built artifact reach the machine's own driver all arrive with it. A consumer that does not name the feature resolves exactly what it resolved before -- measured in that repository: a CPU-only build writes no lock at all. The CN mirror is published and verified byte-identical to the upstream tag archive (36,023,391 bytes, sha256 4f30c253a700...), so the entry takes the table form rather than the plain-string fallback this package used before. The two workspace members move to the new version, which is what makes the entry tested rather than merely present. Measured here: `LLAMACPP_INDEX_TEST=PASS`.
1 parent 40ce676 commit 7154620

3 files changed

Lines changed: 25 additions & 4 deletions

File tree

pkgs/g/ggml-org.llamacpp.lua

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,39 @@ package = {
2424

2525
xpm = {
2626
linux = {
27+
["b10069.1"] = {
28+
url = {
29+
GLOBAL = "https://github.com/mcpplibs/llama.cpp-m/archive/refs/tags/b10069.1.tar.gz",
30+
CN = "https://gitcode.com/mcpp-res/llamacpp/releases/download/b10069.1/llamacpp-b10069.1.tar.gz",
31+
},
32+
sha256 = "4f30c253a7008f82e5bba9d8f894db660e3ebfbc18e2ee745d13c85b7332bbf5",
33+
},
2734
["b10069"] = {
2835
url = "https://github.com/mcpplibs/llama.cpp-m/archive/refs/tags/b10069.tar.gz",
2936
sha256 = "be0b0deeb31136ea9cf0ba61eda1fb7baf8795a6579494a0991afd2323213e0b",
3037
},
3138
},
3239
macosx = {
40+
["b10069.1"] = {
41+
url = {
42+
GLOBAL = "https://github.com/mcpplibs/llama.cpp-m/archive/refs/tags/b10069.1.tar.gz",
43+
CN = "https://gitcode.com/mcpp-res/llamacpp/releases/download/b10069.1/llamacpp-b10069.1.tar.gz",
44+
},
45+
sha256 = "4f30c253a7008f82e5bba9d8f894db660e3ebfbc18e2ee745d13c85b7332bbf5",
46+
},
3347
["b10069"] = {
3448
url = "https://github.com/mcpplibs/llama.cpp-m/archive/refs/tags/b10069.tar.gz",
3549
sha256 = "be0b0deeb31136ea9cf0ba61eda1fb7baf8795a6579494a0991afd2323213e0b",
3650
},
3751
},
3852
windows = {
53+
["b10069.1"] = {
54+
url = {
55+
GLOBAL = "https://github.com/mcpplibs/llama.cpp-m/archive/refs/tags/b10069.1.tar.gz",
56+
CN = "https://gitcode.com/mcpp-res/llamacpp/releases/download/b10069.1/llamacpp-b10069.1.tar.gz",
57+
},
58+
sha256 = "4f30c253a7008f82e5bba9d8f894db660e3ebfbc18e2ee745d13c85b7332bbf5",
59+
},
3960
["b10069"] = {
4061
url = "https://github.com/mcpplibs/llama.cpp-m/archive/refs/tags/b10069.tar.gz",
4162
sha256 = "be0b0deeb31136ea9cf0ba61eda1fb7baf8795a6579494a0991afd2323213e0b",

tests/examples/llamacpp-metal/mcpp.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ name = "llamacpp-metal-tests"
77
version = "0.1.0"
88

99
[target.'cfg(macos)'.dependencies.ggml-org]
10-
llamacpp = { version = "b10069", features = ["backend-metal"] }
10+
llamacpp = { version = "b10069.1", features = ["backend-metal"] }

tests/examples/llamacpp/mcpp.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ name = "llamacpp-tests"
77
version = "0.1.0"
88

99
[target.'cfg(linux)'.dependencies.ggml-org]
10-
llamacpp = "b10069"
10+
llamacpp = "b10069.1"
1111

1212
[target.'cfg(macos)'.dependencies.ggml-org]
13-
llamacpp = "b10069"
13+
llamacpp = "b10069.1"
1414

1515
[target.'cfg(windows)'.dependencies.ggml-org]
16-
llamacpp = "b10069"
16+
llamacpp = "b10069.1"

0 commit comments

Comments
 (0)