Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/OpenNMT/CTranslate2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Klein <guillaumekln@users.noreply.github.com>2021-09-10 11:53:17 +0300
committerGitHub <noreply@github.com>2021-09-10 11:53:17 +0300
commit66f983146e2aaa9a81e075d28b0e39ca1f3b87d3 (patch)
treee113809c6ea18407fda208f64f258509760e51c9
parent512e1a62cee5b0858bed7ffa17891a18584ab1b0 (diff)
Bump version to 2.4.0 (#560)v2.4.0
-rw-r--r--CHANGELOG.md17
-rw-r--r--python/ctranslate2/version.py2
2 files changed, 18 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c80a5087..3e56995d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,23 @@
### Fixes and improvements
+## [v2.4.0](https://github.com/OpenNMT/CTranslate2/releases/tag/v2.4.0) (2021-09-10)
+
+### New features
+
+* [Python] Support asynchronous translation: `translate_batch` can return future-like objects with argument `asynchronous=True`
+* [Python] `translate_batch` now returns a list of `TranslationResult` objects instead of a list of dictionaries (this object can also be indexed as a list of dictionaries for backward compatibility)
+* Add options `--source_lang` and `--target_lang` to the Fairseq converter for models that do not include these information
+
+### Fixes and improvements
+
+* Fix Fairseq model conversion when the model options are stored in `model["cfg"]["model"]`
+* Compile the CPU INT8 quantization kernel with FMA instructions
+* Enable packing of the last linear weight when not using dynamic vocabulary reduction
+* Replace the generic `Tile` implementation by dedicated CPU and CUDA kernels
+* [Python] Implement `__repr__` method for `TranslationStats` objects
+* [Python] Update pybind11 to 2.7.1
+
## [v2.3.2](https://github.com/OpenNMT/CTranslate2/releases/tag/v2.3.2) (2021-08-05)
### Fixes and improvements
diff --git a/python/ctranslate2/version.py b/python/ctranslate2/version.py
index c0aba9be..5018b0d2 100644
--- a/python/ctranslate2/version.py
+++ b/python/ctranslate2/version.py
@@ -1,3 +1,3 @@
"""Version information."""
-__version__ = "2.3.2"
+__version__ = "2.4.0"