Fix all_gather_list for arbitrary inputs (#1105)
Fix all_gather_list for arbitrary inputs (#1105)

Summary: Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/1105

Reviewed By: jay-mahadeokar

Differential Revision: D20612351

Pulled By: myleott

fbshipit-source-id: 280ea415afb20e879bb5ed810501bc2d3131f9b3

pytorch/fairseq,pytorch/fairseq,pytorch/fairseq