From eb703a70e6112eb616f0707403d10dc7e9bfb8cd Mon Sep 17 00:00:00 2001 From: Guillaume Klein Date: Fri, 15 Oct 2021 16:01:33 +0200 Subject: [PATCH] Bump version to 2.6.0 --- CHANGELOG.md | 17 +++++++++++++++++ python/ctranslate2/version.py | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cc781a58..59e17df17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,23 @@ ### Fixes and improvements +## [v2.6.0](https://github.com/OpenNMT/CTranslate2/releases/tag/v2.6.0) (2021-10-15) + +### New features + +* Build wheels for Python 3.10 +* Accept passing the vocabulary as a `opennmt.data.Vocab` object or a list of tokens in the OpenNMT-tf converter + +### Fixes and improvements + +* Fix segmentation fault in greedy search when `normalize_scores` is enabled but not `return_scores` +* Fix segmentation fault when `min_decoding_length` and `max_decoding_length` are both set to 0 +* Fix segmentation fault when option `sampling_topk` is larger than the vocabulary size +* Fix incorrect score normalization in greedy search when `max_decoding_length` is reached +* Fix incorrect score normalization in the `return_alternatives` translation mode +* Improve error checking when reading the binary model file +* Apply `LogSoftMax` in-place during decoding and scoring + ## [v2.5.1](https://github.com/OpenNMT/CTranslate2/releases/tag/v2.5.1) (2021-10-04) ### Fixes and improvements diff --git a/python/ctranslate2/version.py b/python/ctranslate2/version.py index 8c2cc6b2f..86f332774 100644 --- a/python/ctranslate2/version.py +++ b/python/ctranslate2/version.py @@ -1,3 +1,3 @@ """Version information.""" -__version__ = "2.5.1" +__version__ = "2.6.0"