Skip to content

Commit

Permalink
Fix torch.distributed.launch (fixes #2924) (#1456)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/1456

Reviewed By: alexeib

Differential Revision: D25133448

Pulled By: myleott

fbshipit-source-id: 8a7573b69c471b237fffdfc7874f9f6b51143f5a
  • Loading branch information
myleott committed Nov 21, 2020
1 parent 135d303 commit fb04502
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fairseq/dataclass/data_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,6 @@ class DistributedTrainingParams(FairseqDataclass):
},
)
device_id: int = field(
default=0,
metadata={"help": "which GPU to use (usually configured automatically)"},
)
local_rank: int = field(
default=0,
metadata={
"help": "which GPU to use (usually configured automatically)",
Expand Down

0 comments on commit fb04502

Please sign in to comment.