Release 0.2.2-rc.1

ctranslate2-bindings@0.2.2-rc.1
tabby@0.2.2-rc.1

Generated by cargo-workspaces
v0.2.2-rc.1
Meng Zhang 2023-10-09 16:35:40 -07:00
parent 6923d1b90f
commit c8d9b4d9ce
5 changed files with 6 additions and 8 deletions

4
Cargo.lock generated
View File

@ -690,7 +690,7 @@ dependencies = [
[[package]]
name = "ctranslate2-bindings"
version = "0.2.2-rc.0"
version = "0.2.2-rc.1"
dependencies = [
"async-stream",
"async-trait",
@ -3086,7 +3086,7 @@ dependencies = [
[[package]]
name = "tabby"
version = "0.2.2-rc.0"
version = "0.2.2-rc.1"
dependencies = [
"anyhow",
"async-stream",

View File

@ -13,7 +13,7 @@ members = [
]
[workspace.package]
version = "0.2.2-rc.0"
version = "0.2.2-rc.1"
edition = "2021"
authors = ["Meng Zhang"]
homepage = "https://github.com/TabbyML/tabby"

View File

@ -1,6 +1,6 @@
[package]
name = "ctranslate2-bindings"
version = "0.2.2-rc.0"
version = "0.2.2-rc.1"
edition = "2021"
[dependencies]

View File

@ -163,9 +163,7 @@ fn inference_callback(
) -> bool {
if context.cancel.is_cancelled() {
true
} else if let Some(_) = context.decoding.next_token(token_id) {
false
} else {
true
!context.decoding.next_token(token_id).is_some()
}
}

View File

@ -1,6 +1,6 @@
[package]
name = "tabby"
version = "0.2.2-rc.0"
version = "0.2.2-rc.1"
edition = "2021"
[dependencies]