pytorch/examples

Distributed doesn't work with env:// init_method

Open

#458 opened on Dec 1, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (9,429 forks)batch import
distributedgood first issue

Repository metrics

Stars
 (21,634 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

(1) if RANK or WORLD_SIZE is set in env variable, they will not be picked up (2) multiprocessing-distributed won't work with env variable: WORLD_SIZE and RANK being set since the world size needs to be recalculated.

Should be an easy fix

Contributor guide