We are planning to deprecate the original SequenceGenerator and use the ScriptSequenceGenerator in the Fairseq. Due to the change of scripted Sequence Generator constructor, I change build_generator interface in Fairseq, pyspeech and pytorch translate.
Summary: Pull Request resolved: https://github.com/pytorch/fairseq/pull/1922
Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/1117
We are planning to deprecate the original SequenceGenerator and use the ScriptSequenceGenerator in the Fairseq. Due to the change of scripted Sequence Generator constructor, I change
build_generator
interface in Fairseq, pyspeech and pytorch translate.Reviewed By: myleott
Differential Revision: D20683836