Skip to content

Commit a9e5813

Browse files
committed
Release llama_cpp_sys v0.2.1, llama_cpp v0.1.1
1 parent cb62c12 commit a9e5813

File tree

5 files changed

+81
-7
lines changed

5 files changed

+81
-7
lines changed

Cargo.lock

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

crates/llama_cpp/CHANGELOG.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,53 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v0.1.1 (2023-11-08)
9+
10+
### Chore
11+
12+
- <csr-id-3eddbab3cc35a59acbe66fa4f5333a9ca0edb326/> Remove debug binary from Cargo.toml
13+
14+
### New Features
15+
16+
- <csr-id-3bada658c9139af1c3dcdb32c60c222efb87a9f6/> add `LlamaModel::load_from_file_async`
17+
18+
### Bug Fixes
19+
20+
- <csr-id-b676baa3c1a6863c7afd7a88b6f7e8ddd2a1b9bd/> require `llama_context` is accessed from behind a mutex
21+
This solves a race condition when several `get_completions` threads are spawned at the same time
22+
- <csr-id-4eb0bc9800877e460fe0d1d25398f35976b4d730/> `start_completing` should not be invoked on a per-iteration basis
23+
There's still some UB that can be triggered due to llama.cpp's threading model, which needs patching up.
24+
25+
### Commit Statistics
26+
27+
<csr-read-only-do-not-edit/>
28+
29+
- 5 commits contributed to the release.
30+
- 13 days passed between releases.
31+
- 4 commits were understood as [conventional](https://www.conventionalcommits.org).
32+
- 0 issues like '(#ID)' were seen in commit messages
33+
34+
### Commit Details
35+
36+
<csr-read-only-do-not-edit/>
37+
38+
<details><summary>view details</summary>
39+
40+
* **Uncategorized**
41+
- Add `LlamaModel::load_from_file_async` ([`3bada65`](https://github.com/binedge/llama_cpp-rs/commit/3bada658c9139af1c3dcdb32c60c222efb87a9f6))
42+
- Remove debug binary from Cargo.toml ([`3eddbab`](https://github.com/binedge/llama_cpp-rs/commit/3eddbab3cc35a59acbe66fa4f5333a9ca0edb326))
43+
- Require `llama_context` is accessed from behind a mutex ([`b676baa`](https://github.com/binedge/llama_cpp-rs/commit/b676baa3c1a6863c7afd7a88b6f7e8ddd2a1b9bd))
44+
- `start_completing` should not be invoked on a per-iteration basis ([`4eb0bc9`](https://github.com/binedge/llama_cpp-rs/commit/4eb0bc9800877e460fe0d1d25398f35976b4d730))
45+
- Update to llama.cpp 0a7c980 ([`94d7385`](https://github.com/binedge/llama_cpp-rs/commit/94d7385fefdab42ac6949c6d47c5ed262db08365))
46+
</details>
47+
848
## v0.1.0 (2023-10-25)
949

1050
<csr-id-702a6ff49d83b10a0573a5ca1fb419efaa43746e/>
1151
<csr-id-116fe8c82fe2c43bf9041f6dbfe2ed15d00e18e9/>
1252
<csr-id-96548c840d3101091c879648074fa0ed1cee3011/>
1353
<csr-id-a5fb19499ecbb1060ca8211111f186efc6e9b114/>
54+
<csr-id-aa5eed4dcb6f50b25c878e584787211402a9138b/>
1455

1556
### Chore
1657

@@ -34,7 +75,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3475

3576
<csr-read-only-do-not-edit/>
3677

37-
- 8 commits contributed to the release over the course of 5 calendar days.
78+
- 9 commits contributed to the release over the course of 5 calendar days.
3879
- 6 commits were understood as [conventional](https://www.conventionalcommits.org).
3980
- 1 unique issue was worked on: [#3](https://github.com/binedge/llama_cpp-rs/issues/3)
4081

@@ -47,6 +88,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4788
* **[#3](https://github.com/binedge/llama_cpp-rs/issues/3)**
4889
- Release ([`116fe8c`](https://github.com/binedge/llama_cpp-rs/commit/116fe8c82fe2c43bf9041f6dbfe2ed15d00e18e9))
4990
* **Uncategorized**
91+
- Release llama_cpp v0.1.0 ([`f24c7fe`](https://github.com/binedge/llama_cpp-rs/commit/f24c7fe3ebd851a56301ce3d5a1b4250d2d797b9))
5092
- Add CHANGELOG.md ([`aa5eed4`](https://github.com/binedge/llama_cpp-rs/commit/aa5eed4dcb6f50b25c878e584787211402a9138b))
5193
- Remove `include` from llama_cpp ([`702a6ff`](https://github.com/binedge/llama_cpp-rs/commit/702a6ff49d83b10a0573a5ca1fb419efaa43746e))
5294
- Use SPDX license identifiers ([`2cb06ae`](https://github.com/binedge/llama_cpp-rs/commit/2cb06aea62b892a032f515b78d720acb915f4a22))

crates/llama_cpp/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "llama_cpp"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "High-level bindings to llama.cpp with a focus on just being really, really easy to use"
55
edition = "2021"
66
authors = ["Dakota Thompson <me@scriptis.net>"]
@@ -13,7 +13,7 @@ publish = true
1313
ctor = "0.2.5"
1414
derive_more = "0.99.17"
1515
flume = "0.11.0"
16-
llama_cpp_sys = { version = "^0.2.0", path = "../llama_cpp_sys" }
16+
llama_cpp_sys = { version = "^0.2.1", path = "../llama_cpp_sys" }
1717
num_cpus = "1.16.0"
1818
thiserror = "1.0.50"
1919
tokio = { version = "1.33.0", features = ["sync", "rt"] }

crates/llama_cpp_sys/CHANGELOG.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,37 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v0.2.1 (2023-11-08)
9+
10+
### Chore
11+
12+
- <csr-id-ccb794d346de87e48199f9f0f3564f3c7a2cd607/> Update to `bindgen` 0.69.1
13+
14+
### Bug Fixes
15+
16+
- <csr-id-4eb0bc9800877e460fe0d1d25398f35976b4d730/> `start_completing` should not be invoked on a per-iteration basis
17+
There's still some UB that can be triggered due to llama.cpp's threading model, which needs patching up.
18+
19+
### Commit Statistics
20+
21+
<csr-read-only-do-not-edit/>
22+
23+
- 2 commits contributed to the release.
24+
- 13 days passed between releases.
25+
- 2 commits were understood as [conventional](https://www.conventionalcommits.org).
26+
- 0 issues like '(#ID)' were seen in commit messages
27+
28+
### Commit Details
29+
30+
<csr-read-only-do-not-edit/>
31+
32+
<details><summary>view details</summary>
33+
34+
* **Uncategorized**
35+
- Update to `bindgen` 0.69.1 ([`ccb794d`](https://github.com/binedge/llama_cpp-rs/commit/ccb794d346de87e48199f9f0f3564f3c7a2cd607))
36+
- `start_completing` should not be invoked on a per-iteration basis ([`4eb0bc9`](https://github.com/binedge/llama_cpp-rs/commit/4eb0bc9800877e460fe0d1d25398f35976b4d730))
37+
</details>
38+
839
## v0.2.0 (2023-10-25)
940

1041
<csr-id-116fe8c82fe2c43bf9041f6dbfe2ed15d00e18e9/>
@@ -36,7 +67,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3667

3768
<csr-read-only-do-not-edit/>
3869

39-
- 10 commits contributed to the release over the course of 5 calendar days.
70+
- 11 commits contributed to the release over the course of 5 calendar days.
4071
- 6 commits were understood as [conventional](https://www.conventionalcommits.org).
4172
- 3 unique issues were worked on: [#1](https://github.com/binedge/llama_cpp-rs/issues/1), [#2](https://github.com/binedge/llama_cpp-rs/issues/2), [#3](https://github.com/binedge/llama_cpp-rs/issues/3)
4273

@@ -53,6 +84,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5384
* **[#3](https://github.com/binedge/llama_cpp-rs/issues/3)**
5485
- Release ([`116fe8c`](https://github.com/binedge/llama_cpp-rs/commit/116fe8c82fe2c43bf9041f6dbfe2ed15d00e18e9))
5586
* **Uncategorized**
87+
- Release llama_cpp_sys v0.2.0 ([`fa3af83`](https://github.com/binedge/llama_cpp-rs/commit/fa3af83e51f552ad60e3f4e06cb3582b0cb4be2f))
5688
- Use SPDX license identifiers ([`2cb06ae`](https://github.com/binedge/llama_cpp-rs/commit/2cb06aea62b892a032f515b78d720acb915f4a22))
5789
- Release llama_cpp_sys v0.2.0 ([`85f21a1`](https://github.com/binedge/llama_cpp-rs/commit/85f21a1eca80faa9bd3f2f160d58b21a437814aa))
5890
- Add CHANGELOG.md ([`0e836f5`](https://github.com/binedge/llama_cpp-rs/commit/0e836f5b60b0e2f110972ef384f23c350150f55b))

crates/llama_cpp_sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "llama_cpp_sys"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
description = "Automatically-generated bindings to llama.cpp's C API"
55
edition = "2021"
66
authors = ["Dakota Thompson <me@scriptis.net>"]

0 commit comments

Comments
 (0)