"git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "3fa2055b5a4807a8ffc577c53da180382cafd17c"
add __len__ for progress_bar (#871)
Summary: We need this so that `progress_bar`s work with pytorch/xla i.e. TPUs. See [here](https://github.com/pytorch/xla/blob/master/torch_xla_py/data_parallel.py#L130). Pull Request resolved: https://github.com/pytorch/fairseq/pull/871 Differential Revision: D16181062 Pulled By: myleott fbshipit-source-id: 02c65033260396c2a243fbb66e31ffc2965f2376
Showing
Please register or sign in to comment