Closed DavidLee528 closed 8 months ago
Thanks for your sharing ! I would like to know whether this change is only supported for torch>2.0 now?
Thanks for your sharing ! I would like to know whether this change is only supported for torch>2.0 now?
Dear @ChaoFan996, thanks for your reply.
Using torchrun
is equivalent to invoking python -m torch.distributed.run
, see here.
In Pytorch version 1.13.1, I have found the torch.distributed.run
in source code:
Stale pull request message
Got a deprecation warning when executing
train.sh
andtest.sh
:torch.distributed.launch
is deprecated withtorch
as it's alternative tool.Where
torchrun
provides a superset of the functionality astorch.distributed.launch
with the following additional functionalities:See more here