From 6b6e68ad94a8e87c33222203bd6061f9f7492d1d Mon Sep 17 00:00:00 2001 From: Guillaume Klein Date: Fri, 13 Jan 2023 16:23:53 +0100 Subject: [PATCH] Bump version to 2.31.0 --- CHANGELOG.md | 12 ++++++++++++ opennmt/version.py | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0afb560e..d4c4e8cec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,18 @@ OpenNMT-tf follows [semantic versioning 2.0.0](https://semver.org/). The API cov ### Fixes and improvements +## [2.31.0](https://github.com/OpenNMT/OpenNMT-tf/releases/tag/v2.31.0) (2023-01-13) + +### New features + +* Add option `--jit_compile` to compile the model with XLA (only applied in training at the moment) + +### Fixes and improvements + +* Improve correctness of gradient accumulation and multi-GPU training by normalizing the gradients with the true global batch size instead of using an approximation +* Report the total number of tokens per second in the training logs, in addition to the source and target numbers +* Relax the sacreBLEU version requirement to include any 2.x versions + ## [2.30.0](https://github.com/OpenNMT/OpenNMT-tf/releases/tag/v2.30.0) (2022-12-12) ### Changes diff --git a/opennmt/version.py b/opennmt/version.py index c51b56918..e9f45ff53 100644 --- a/opennmt/version.py +++ b/opennmt/version.py @@ -1,6 +1,6 @@ """OpenNMT-tf version.""" -__version__ = "2.30.0" +__version__ = "2.31.0" INCLUSIVE_MIN_TF_VERSION = "2.6.0" EXCLUSIVE_MAX_TF_VERSION = "2.12.0"