    def max_decoder_positions(self):
        """Maximum length supported by the decoder."""
        return min(model.decoder.max_positions() for model in self.models.values())
Maximum length supported by the decoder.
fairseq/models/fairseq_model.py