Skip to content

Commit

Permalink
Bump version to 2.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed Apr 28, 2022
1 parent 38e05e0 commit f1bbc15
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion python/ctranslate2/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Version information."""

__version__ = "2.15.1"
__version__ = "2.16.0"

0 comments on commit f1bbc15

Please sign in to comment.