Skip to content
Snippets Groups Projects
  1. Jul 08, 2019
  2. Jun 27, 2019
    • Qiang Zhang's avatar
      Only import torch.distributed when needed (#882) · 8bf38df0
      Qiang Zhang authored
      * Fix an import error for `get_world_size` and `get_rank`
      
      * Only import torch.distributed when needed
      
      torch.distributed is only used in DistributedGroupSampler
      
      * use `get_dist_info` to obtain world size and rank
      
      `get_dist_info` from `mmcv.runner.utils` handles the problem of `distributed_c10d` doesn't exist.
      8bf38df0
  3. May 20, 2019
  4. May 11, 2019
  5. Sep 23, 2018
  6. Sep 02, 2018
Loading