Skip to content

Commit 2da411b

Browse files
committed
docs: update changelog for attention_type
1 parent 5478014 commit 2da411b

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

‎CHANGELOG.md‎

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

88
## [Unreleased]
99

10+
- feat: Expose `attention_type` in `Llama.__init__` for non-causal embedding models by @jamesbiederbeck in #2143
1011
- fix(ci): Build Docker images from the checked-out source and sanitize branch tags by @abetlen in #2156
1112
- fix(ci): Fix the CUDA wheel workflow and keep release tags aligned with the built toolkit by @abetlen in #2155
1213
- fix(ci): Speed up release wheel builds by moving arm64 off QEMU and parallelizing riscv64 by @abetlen in #2154

‎llama_cpp/llama.py‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2143,9 +2143,6 @@ def __getstate__(self):
21432143
)
21442144

21452145
def __setstate__(self, state):
2146-
state.setdefault(
2147-
"attention_type", llama_cpp.LLAMA_ATTENTION_TYPE_UNSPECIFIED
2148-
)
21492146
self.__init__(**state)
21502147

21512148
def save_state(self) -> LlamaState:

0 commit comments

Comments
 (0)