    def max_positions(self):
        """Maximum input length supported by the decoder."""
        return 1e6  # an arbitrary large number
Maximum input length supported by the decoder.
fairseq/models/fairseq_decoder.py