Skip to content

Commit 8490f84

Browse files
committed
snap
1 parent 38400fc commit 8490f84

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ models/
55
thirdparty/llama-cpp-python
66
src/cyllama/cyllama.cpp
77
tests/cpp
8+
changes.diff
89

910
# editor
1011
.vscode

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ $(LIBLAMMA):
2828

2929
build: $(LIBLAMMA)
3030
@python3 setup.py build_ext --inplace
31-
# @rm -rf src/cyllama/cyllama.cpp
31+
@git diff thirdparty > changes.diff
3232

3333

3434
wheel:

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ authors = [
99
requires-python = ">=3.8"
1010
dependencies = ["numpy >= 2"]
1111

12+
[project.optional-dependencies]
13+
test = ['pytest', 'pytest-cov']
14+
1215
[build-system]
1316
requires = ["setuptools >= 61", "cython"]
1417
build-backend = "setuptools.build_meta"

thirdparty/llama.cpp/include/ggml.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ extern "C" {
509509
GGML_OP_WIN_UNPART,
510510
GGML_OP_GET_REL_POS,
511511
GGML_OP_ADD_REL_POS,
512-
GGML_OP_RWKV_WKV,
512+
GGML_OP_RWKV_WKV6,
513513

514514
GGML_OP_UNARY,
515515

@@ -1819,7 +1819,7 @@ extern "C" {
18191819
struct ggml_tensor * pw,
18201820
struct ggml_tensor * ph);
18211821

1822-
GGML_API struct ggml_tensor * ggml_rwkv_wkv(
1822+
GGML_API struct ggml_tensor * ggml_rwkv_wkv6(
18231823
struct ggml_context * ctx,
18241824
struct ggml_tensor * k,
18251825
struct ggml_tensor * v,

0 commit comments

Comments
 (0)