diff options
author | Guillaume Klein <guillaume.klein@systrangroup.com> | 2022-04-28 13:50:37 +0300 |
---|---|---|
committer | Guillaume Klein <guillaume.klein@systrangroup.com> | 2022-04-28 13:50:37 +0300 |
commit | f1bbc15ebed4d228a3b8a2096369450fec33ed07 (patch) | |
tree | a122d101a2ea5a87ab96e73e1e1d9f1671c22233 | |
parent | 38e05e041f80c5486a74e2c7e5293cff9444f6a7 (diff) |
Bump version to 2.16.0v2.16.0
-rw-r--r-- | CHANGELOG.md | 21 | ||||
-rw-r--r-- | python/ctranslate2/version.py | 2 |
2 files changed, 22 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bf3db29..2b93bf9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,27 @@ ### Fixes and improvements +## [v2.16.0](https://github.com/OpenNMT/CTranslate2/releases/tag/v2.16.0) (2022-04-28) + +### New features + +* Initial support of language models: + * Add a high-level class `ctranslate2.Generator` to generate text with language models + * Add a converter for OpenAI GPT-2 models + * Update the OpenNMT-py converter to support `transformer_lm` decoders +* Build ARM64 wheels for macOS +* Allow loading custom Fairseq extensions and architectures during conversion with the option `--user_dir` +* Enable conversion of the Fairseq architectures `multilingual_transformer` and `multilingual_transformer_iwslt_de_en` +* Implement random sampling in beam search using the Gumbel-max trick +* Generate and publish the Python API reference to https://opennmt.net/CTranslate2 + +### Fixes and improvements + +* Fix model loading on a GPU with index > 0 +* Fix memory error when running random sampling on GPU with certain batch sizes +* Fix incorrect tokens order in some converted Marian vocabularies +* Properly count the number of layers before building the encoder/decoder instead of relying on runtime exceptions + ## [v2.15.1](https://github.com/OpenNMT/CTranslate2/releases/tag/v2.15.1) (2022-04-04) ### Fixes and improvements diff --git a/python/ctranslate2/version.py b/python/ctranslate2/version.py index 78232e0c..0557084b 100644 --- a/python/ctranslate2/version.py +++ b/python/ctranslate2/version.py @@ -1,3 +1,3 @@ """Version information.""" -__version__ = "2.15.1" +__version__ = "2.16.0" |