From bd710e75aecb5f1dd8fdd6e2a947d6aeebe45258 Mon Sep 17 00:00:00 2001 From: Myle Ott Date: Wed, 19 Jun 2019 19:05:48 -0700 Subject: [PATCH] v0.7.0 (#817) Summary: Notable (possibly breaking) changes: - d45db80: Remove checkpoint utility functions from utils.py into checkpoint_utils.py - f2563c2: Move LM definitions into separate files - dffb167: Updates to model API: - `FairseqModel` -> `FairseqEncoderDecoderModel` - add `FairseqDecoder.extract_features` and `FairseqDecoder.output_layer` - `encoder_out_dict` -> `encoder_out` - rm unused `remove_head` functions - 34726d5: Move `distributed_init` into `DistributedFairseqModel` - cf17068: Simplify distributed launch by automatically launching multiprocessing on each node for all visible GPUs (allows launching just one job per node instead of one per GPU) - d45db80: Change default LR scheduler from `reduce_lr_on_plateau` to `fixed` - 96ac28d: Rename `--sampling-temperature` -> `--temperature` - fc1a19a: Deprecate dummy batches - a1c997b: Add memory mapped datasets - 0add50c: Allow cycling over multiple datasets, where each one becomes an "epoch" Plus many additional features and bugfixes Pull Request resolved: https://github.com/pytorch/fairseq/pull/817 Differential Revision: D15913844 Pulled By: myleott fbshipit-source-id: d5b5d678efdd9dd3e4d7ca848ddcf1ec2b21bf6b --- docs/conf.py | 4 ++-- fairseq/__init__.py | 2 +- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 2a25916f6..0c3fd5aa1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -60,9 +60,9 @@ github_doc_root = 'https://github.com/pytorch/fairseq/tree/master/docs/' # built documents. # # The short X.Y version. -version = '0.6.2' +version = '0.7.0' # The full version, including alpha/beta/rc tags. -release = '0.6.2' +release = '0.7.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/fairseq/__init__.py b/fairseq/__init__.py index eee087c04..7e9595f60 100644 --- a/fairseq/__init__.py +++ b/fairseq/__init__.py @@ -6,7 +6,7 @@ # can be found in the PATENTS file in the same directory. __all__ = ['pdb'] -__version__ = '0.6.2' +__version__ = '0.7.0' import fairseq.criterions import fairseq.models diff --git a/setup.py b/setup.py index 9cfc6f940..c2cc7a9c8 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ bleu = Extension( setup( name='fairseq', - version='0.6.2', + version='0.7.0', description='Facebook AI Research Sequence-to-Sequence Toolkit', url='https://github.com/pytorch/fairseq', classifiers=[