fairseq
fairseq copied to clipboard
fix variable naming bug
The function _get_mask_indices_dims used the wrong variable when checking if a length was already cached. This will increase performance
Just noticed that it is the same as this one - https://github.com/facebookresearch/fairseq/pull/5018#issue-1618732029 not sure why it was closed