Fix T5 beam search using parallelize (#11717)
Fix T5 beam search using parallelize (#11717)


huggingface/transformers,huggingface/transformers,huggingface/transformers,huggingface/pytorch-transformers,huggingface/transformers