Skip to content

Commit

Permalink
Release 0.2.2-rc.1
Browse files Browse the repository at this point in the history
[email protected]
[email protected]

Generated by cargo-workspaces
  • Loading branch information
wsxiaoys committed Oct 9, 2023
1 parent 6923d1b commit c8d9b4d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/ctranslate2-bindings/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ctranslate2-bindings"
version = "0.2.2-rc.0"
version = "0.2.2-rc.1"
edition = "2021"

[dependencies]
Expand Down
4 changes: 1 addition & 3 deletions crates/ctranslate2-bindings/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
2 changes: 1 addition & 1 deletion crates/tabby/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tabby"
version = "0.2.2-rc.0"
version = "0.2.2-rc.1"
edition = "2021"

[dependencies]
Expand Down

0 comments on commit c8d9b4d

Please sign in to comment.