Skip to content

Commit b7dce27

Browse files
committed
Merge remote-tracking branch 'abetlen/main'
2 parents 4da8623 + 816d491 commit b7dce27

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.2.83]
11+
12+
- feat: Update llama.cpp to ggerganov/llama.cpp@081fe431aa8fb6307145c4feb3eed4f48cab19f8
13+
- feat: Add 'required' literal to ChatCompletionToolChoiceOption by @mjschock in #1597
14+
- fix: Change repeat_penalty to 1.0 to match llama.cpp defaults by @ddh0 in #1590
15+
- fix(docs): Update README.md typo by @ericcurtin in #1589
16+
- fix(server): Use split_mode from model settings by @grider-withourai in #1594
17+
- feat(ci): Dockerfile update base images and post-install cleanup by @Smartappli in #1530
18+
1019
## [0.2.82]
1120

1221
- feat: Update llama.cpp to ggerganov/llama.cpp@7fdb6f73e35605c8dbc39e9f19cd9ed84dbc87f2

llama_cpp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .llama_cpp import *
22
from .llama import *
33

4-
__version__ = "0.2.82.3"
4+
__version__ = "0.2.83"

llama_cpp/llama_cpp.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ def byref(obj: CtypesCData, offset: Optional[int] = None) -> CtypesRef[CtypesCDa
247247

248248
# define LLAMA_SESSION_MAGIC LLAMA_FILE_MAGIC_GGSN
249249
LLAMA_SESSION_MAGIC = LLAMA_FILE_MAGIC_GGSN
250-
# define LLAMA_SESSION_VERSION 6
251-
LLAMA_SESSION_VERSION = 6
250+
# define LLAMA_SESSION_VERSION 7
251+
LLAMA_SESSION_VERSION = 7
252252

253253
# define LLAMA_STATE_SEQ_MAGIC LLAMA_FILE_MAGIC_GGSQ
254254
LLAMA_STATE_SEQ_MAGIC = LLAMA_FILE_MAGIC_GGSQ
@@ -314,6 +314,9 @@ def byref(obj: CtypesCData, offset: Optional[int] = None) -> CtypesRef[CtypesCDa
314314
# LLAMA_VOCAB_PRE_TYPE_CHATGLM4 = 17,
315315
# LLAMA_VOCAB_PRE_TYPE_VIKING = 18,
316316
# LLAMA_VOCAB_PRE_TYPE_JAIS = 19,
317+
# LLAMA_VOCAB_PRE_TYPE_TEKKEN = 20,
318+
# LLAMA_VOCAB_PRE_TYPE_SMOLLM = 21,
319+
# LLAMA_VOCAB_PRE_TYPE_CODESHELL = 22,
317320
# };
318321
LLAMA_VOCAB_PRE_TYPE_DEFAULT = 0
319322
LLAMA_VOCAB_PRE_TYPE_LLAMA3 = 1
@@ -335,6 +338,9 @@ def byref(obj: CtypesCData, offset: Optional[int] = None) -> CtypesRef[CtypesCDa
335338
LLAMA_VOCAB_PRE_TYPE_CHATGLM4 = 17
336339
LLAMA_VOCAB_PRE_TYPE_VIKING = 18
337340
LLAMA_VOCAB_PRE_TYPE_JAIS = 19
341+
LLAMA_VOCAB_PRE_TYPE_TEKKEN = 20
342+
LLAMA_VOCAB_PRE_TYPE_SMOLLM = 21
343+
LLAMA_VOCAB_PRE_TYPE_CODESHELL = 22
338344

339345

340346
# // note: these values should be synchronized with ggml_rope

0 commit comments

Comments
 (0)