From cbbb0dc103eb1d57f9a0ae88c3fd86cb93404c51 Mon Sep 17 00:00:00 2001 From: Guillaume Klein Date: Fri, 10 Feb 2023 10:22:23 +0100 Subject: [PATCH] Bump version to 3.5.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 849919239..cf9362978 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,23 @@ ### Fixes and improvements +## [v3.5.0](https://github.com/OpenNMT/CTranslate2/releases/tag/v3.5.0) (2023-02-10) + +### New features + +* Add a patience factor for beam search to continue decoding until `beam_size * patience` hypotheses are finished, as described in [Kasai et al. 2022](https://arxiv.org/abs/2204.05424) +* Implement all GELU variants and select them accordingly when converting models: + * Tanh approximation (already implemented) + * Sigmoid approximation + * Reference implementation based on the CDF + +### Fixes and improvements + +* Fix incorrect outputs of T5 models due to a bug in the CUDA kernel of the RMS normalization +* Raise an error if the Whisper input shape is incorrect +* Optimize the transposition operator used in the multi-head attention when running on GPU +* Remove the upper limit in `python_requires` to facilitate the package installation with tools like Poetry and PDM + ## [v3.4.0](https://github.com/OpenNMT/CTranslate2/releases/tag/v3.4.0) (2023-02-03) ### Fixes and improvements diff --git a/python/ctranslate2/version.py b/python/ctranslate2/version.py index b9e2e9d59..3e76649e9 100644 --- a/python/ctranslate2/version.py +++ b/python/ctranslate2/version.py @@ -1,3 +1,3 @@ """Version information.""" -__version__ = "3.4.0" +__version__ = "3.5.0"