Skip to content

Commit 3b018bd

Browse files
[bot-automerge] llama.cpp v6729 (conda-forge#69)
Signed-off-by: Julien Jerphanion <[email protected]> Co-authored-by: Julien Jerphanion <[email protected]>
1 parent e51abb1 commit 3b018bd

10 files changed

+18
-28
lines changed

.ci_support/linux_64_c_compiler_version13cuda_compiler_version12.6cxx_compiler_version13.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ c_stdlib:
88
- sysroot
99
c_stdlib_version:
1010
- '2.17'
11-
cdt_name:
12-
- conda
1311
channel_sources:
1412
- conda-forge
1513
channel_targets:

.ci_support/linux_64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ c_stdlib:
88
- sysroot
99
c_stdlib_version:
1010
- '2.17'
11-
cdt_name:
12-
- conda
1311
channel_sources:
1412
- conda-forge
1513
channel_targets:

.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_version12.6cxx_compiler_version13.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ c_stdlib:
88
- sysroot
99
c_stdlib_version:
1010
- '2.17'
11-
cdt_name:
12-
- conda
1311
channel_sources:
1412
- conda-forge
1513
channel_targets:

.ci_support/linux_aarch64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ c_stdlib:
88
- sysroot
99
c_stdlib_version:
1010
- '2.17'
11-
cdt_name:
12-
- conda
1311
channel_sources:
1412
- conda-forge
1513
channel_targets:

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.scripts/build_steps.sh

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pixi.toml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

recipe/0001-Change-gpuAddress-for-contents.patch

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
From ac0ca842abedfadb8f969d5f2cda04815cf5948d Mon Sep 17 00:00:00 2001
1+
From 228800186cab957319d187ecf6e92052ea2a3d22 Mon Sep 17 00:00:00 2001
22
From: Julien Jerphanion <[email protected]>
33
Date: Tue, 16 Sep 2025 11:28:30 +0200
44
Subject: [PATCH] Change `gpuAddress` for `contents`
55

66
Signed-off-by: Julien Jerphanion <[email protected]>
77
---
8-
ggml/src/ggml-metal/ggml-metal.m | 2 +-
8+
ggml/src/ggml-metal/ggml-metal-device.m | 2 +-
99
1 file changed, 1 insertion(+), 1 deletion(-)
1010

11-
diff --git a/ggml/src/ggml-metal/ggml-metal.m b/ggml/src/ggml-metal/ggml-metal.m
12-
index 07b96dbd..51b0c646 100644
13-
--- a/ggml/src/ggml-metal/ggml-metal.m
14-
+++ b/ggml/src/ggml-metal/ggml-metal.m
15-
@@ -6215,7 +6215,7 @@ static ggml_backend_buffer_t ggml_backend_metal_buffer_type_alloc_buffer(ggml_ba
11+
diff --git a/ggml/src/ggml-metal/ggml-metal-device.m b/ggml/src/ggml-metal/ggml-metal-device.m
12+
index e38e70768..e0faebb66 100644
13+
--- a/ggml/src/ggml-metal/ggml-metal-device.m
14+
+++ b/ggml/src/ggml-metal/ggml-metal-device.m
15+
@@ -989,7 +989,7 @@ ggml_metal_buffer_t ggml_metal_buffer_init(ggml_metal_device_t dev, size_t size,
1616
} else {
17-
ctx->buffers[0].metal = [device newBufferWithLength:size_aligned options:MTLResourceStorageModePrivate];
17+
res->buffers[0].metal = [res->device newBufferWithLength:size_aligned options:MTLResourceStorageModePrivate];
1818

19-
- ctx->all_data = (void *) (ctx->buffers[0].metal.gpuAddress);
20-
+ ctx->all_data = (void *) (ctx->buffers[0].metal.contents);
19+
- res->all_data = (void *) (res->buffers[0].metal.gpuAddress);
20+
+ res->all_data = (void *) (res->buffers[0].metal.contents);
2121
}
2222
}
2323

recipe/recipe.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
context:
22
name: llama.cpp
3-
version: "6441"
3+
version: "6729"
44
build: 0
55

66
package:
@@ -9,7 +9,7 @@ package:
99

1010
source:
1111
url: https://github.com/ggml-org/${{ name }}/archive/b${{ version | split(".") | list | last }}.tar.gz
12-
sha256: e5779ac94f3c8e32ffcc610cf4227af9637e6e81566f0ac1c0f8f7d39986cc24
12+
sha256: bfe625422c8fa74cf12d1d6aff8bdbbe61c86647de1615c2e7b6f0cde4804e18
1313
patches:
1414
- 0001-Change-gpuAddress-for-contents.patch
1515

@@ -198,7 +198,6 @@ tests:
198198
- check_file "$PREFIX/bin/llama-gguf" "llama-gguf"
199199
- check_file "$PREFIX/bin/llama-gguf-hash" "llama-gguf-hash"
200200
- check_file "$PREFIX/bin/llama-gguf-split" "llama-gguf-split"
201-
- check_file "$PREFIX/bin/llama-gritlm" "llama-gritlm"
202201
- check_file "$PREFIX/bin/llama-imatrix" "llama-imatrix"
203202
- check_file "$PREFIX/bin/llama-lookahead" "llama-lookahead"
204203
- check_file "$PREFIX/bin/llama-lookup" "llama-lookup"

0 commit comments

Comments
 (0)