Skip to content

Commit 7e2203b

Browse files
authored
Merge pull request #126 from jkawamoto/bump
v0.9.14
2 parents 829227d + bcc44fe commit 7e2203b

8 files changed

Lines changed: 23 additions & 27 deletions

File tree

.bumpversion.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.bumpversion]
2-
current_version = "0.9.13"
2+
current_version = "0.9.14"
33
commit = true
44
tag = false
55

.dprint.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"/README.md"
1111
],
1212
"plugins": [
13-
"https://plugins.dprint.dev/markdown-0.17.1.wasm",
14-
"https://plugins.dprint.dev/toml-0.6.2.wasm"
13+
"https://plugins.dprint.dev/markdown-0.20.0.wasm",
14+
"https://plugins.dprint.dev/toml-0.7.0.wasm"
1515
]
1616
}

.github/workflows/build.yaml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ jobs:
1414
check:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/setup-python@v5
18-
with:
19-
python-version: "3.11"
2017
- uses: actions/checkout@v4
2118
- uses: dprint/check@v2.2
2219
- uses: pre-commit/action@v3.0.1
@@ -42,9 +39,9 @@ jobs:
4239
path: ~/.cache/huggingface
4340
key: macos-test-data
4441
- name: Build
45-
run: cargo build -vv -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}"
42+
run: cargo build -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}"
4643
- name: Run tests
47-
run: cargo test -vv -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}" -- --include-ignored
44+
run: cargo test -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}" -- --include-ignored
4845

4946
build-linux:
5047
strategy:
@@ -71,11 +68,10 @@ jobs:
7168
path: ~/.cache/huggingface
7269
key: linux-test-data
7370
- name: Build
74-
run: cargo build -vv -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}"
71+
run: cargo build -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}"
7572
- name: Run tests
76-
run: cargo test -vv -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}" -- --include-ignored
77-
if: ${{ matrix.backend != 'mkl' }}
78-
73+
run: cargo test -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}" -- --include-ignored
74+
if: ${{ matrix.backend != 'mkl' && matrix.backend != 'dnnl' }}
7975
build-windows:
8076
strategy:
8177
fail-fast: false
@@ -107,9 +103,9 @@ jobs:
107103
path: ~/.cache/huggingface
108104
key: windows-test-data
109105
- name: Build
110-
run: cargo build -vv -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}"
106+
run: cargo build -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}"
111107
- name: Run tests
112-
run: cargo test -vv -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}" -- --include-ignored
108+
run: cargo test -p ct2rs --no-default-features -F "all-tokenizers,whisper,hub,${{ matrix.backend }}" -- --include-ignored
113109
if: ${{ matrix.backend != 'mkl' }}
114110

115111
docs:
@@ -121,5 +117,5 @@ jobs:
121117
- uses: Swatinem/rust-cache@v2
122118
- name: Build
123119
run: |
124-
cargo +nightly rustdoc -F whisper,hub -vv -p ct2rs -- --cfg docsrs
125-
cargo +nightly rustdoc -F whisper,hub -vv -p ct2rs-platform -- --cfg docsrs
120+
cargo +nightly rustdoc -F whisper,hub -p ct2rs -- --cfg docsrs
121+
cargo +nightly rustdoc -F whisper,hub -p ct2rs-platform -- --cfg docsrs

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repos:
99
- id: end-of-file-fixer
1010
- id: trailing-whitespace
1111
- repo: https://github.com/pre-commit/mirrors-clang-format
12-
rev: v21.1.5
12+
rev: v21.1.7
1313
hooks:
1414
- id: clang-format
1515
types_or: [c++, c, cuda]

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["ct2rs", "ct2rs-platform"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "0.9.13"
6+
version = "0.9.14"
77
authors = ["Junpei Kawamoto <kawamoto.junpei@gmail.com>"]
88
edition = "2021"
99
license = "MIT"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# ctranslate2-rs
22

33
[![Latest version](https://img.shields.io/crates/v/ct2rs.svg)](https://crates.io/crates/ct2rs)
4+
[![Build](https://github.com/jkawamoto/ctranslate2-rs/actions/workflows/build.yaml/badge.svg)](https://github.com/jkawamoto/ctranslate2-rs/actions/workflows/build.yaml)
45
[![docs.rs](https://img.shields.io/docsrs/ct2rs)](https://docs.rs/ct2rs)
56
[![GitHub License](https://img.shields.io/github/license/jkawamoto/ctranslate2-rs)](https://github.com/jkawamoto/ctranslate2-rs/blob/main/LICENSE)
6-
[![Build](https://github.com/jkawamoto/ctranslate2-rs/actions/workflows/build.yaml/badge.svg)](https://github.com/jkawamoto/ctranslate2-rs/actions/workflows/build.yaml)
77

88
This library provides Rust bindings for [OpenNMT/CTranslate2](https://github.com/OpenNMT/CTranslate2).
99

@@ -13,14 +13,14 @@ Add this crate to your `Cargo.toml` with selecting the backends you want to use
1313

1414
```toml
1515
[dependencies]
16-
ct2rs = { version = "0.9.13", features = ["cuda", "dnnl", "mkl"] }
16+
ct2rs = { version = "0.9.14", features = ["cuda", "dnnl", "mkl"] }
1717
```
1818

1919
Or you can use platform-specific default features by using the `ct2rs-platform` crate:
2020

2121
```toml
2222
[dependencies]
23-
ct2rs = { version = "0.9.13", package = "ct2rs-platform" }
23+
ct2rs = { version = "0.9.14", package = "ct2rs-platform" }
2424
```
2525

2626
If you want [Whisper](https://huggingface.co/docs/transformers/model_doc/whisper) model support,

ct2rs-platform/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,31 @@ repository.workspace = true
1111
description = "Platform-specific default feature sets for ct2rs"
1212

1313
[target.'cfg(target_os = "windows")'.dependencies.ct2rs]
14-
version = "=0.9.13"
14+
version = "=0.9.14"
1515
path = "../ct2rs"
1616
default-features = false
1717
features = ["openmp-runtime-intel", "dnnl", "cuda", "cudnn", "cuda-dynamic-loading", "mkl"]
1818

1919
[target.'cfg(all(target_os = "macos", not(target_arch = "aarch64")))'.dependencies.ct2rs]
20-
version = "=0.9.13"
20+
version = "=0.9.14"
2121
path = "../ct2rs"
2222
default-features = false
2323
features = ["dnnl", "mkl"]
2424

2525
[target.'cfg(all(target_os = "macos", target_arch = "aarch64"))'.dependencies.ct2rs]
26-
version = "=0.9.13"
26+
version = "=0.9.14"
2727
path = "../ct2rs"
2828
default-features = false
2929
features = ["accelerate", "ruy"]
3030

3131
[target.'cfg(all(target_os = "linux", not(target_arch = "aarch64")))'.dependencies.ct2rs]
32-
version = "=0.9.13"
32+
version = "=0.9.14"
3333
path = "../ct2rs"
3434
default-features = false
3535
features = ["dnnl", "openmp-runtime-comp", "cuda", "cudnn", "cuda-dynamic-loading", "mkl", "tensor-parallel"]
3636

3737
[target.'cfg(all(target_os = "linux", target_arch = "aarch64"))'.dependencies.ct2rs]
38-
version = "=0.9.13"
38+
version = "=0.9.14"
3939
path = "../ct2rs"
4040
default-features = false
4141
features = ["openmp-runtime-comp", "openblas", "ruy"]

ct2rs-platform/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Add this crate as the `package` argument of the `ct2rs` crate in your `Cargo.tom
99

1010
```toml
1111
[dependencies]
12-
ct2rs = { package = "ct2rs-platform", version = "0.9.13" }
12+
ct2rs = { package = "ct2rs-platform", version = "0.9.14" }
1313
```
1414

1515
See the [ct2rs crate](../README.md) for more information.

0 commit comments

Comments
 (0)