fix torch.distributed.elastic event docs (#64974)
authoredward-io <53842584+edward-io@users.noreply.github.com>
Fri, 17 Sep 2021 18:34:36 +0000 (11:34 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 17 Sep 2021 19:27:09 +0000 (12:27 -0700)
commit51e12f0071c907fd9f7820e7e2d90dcbfa10aa9d
tree9fc20aeca1b2df7ec1d4350857d8d518aca45b3b
parentbbe25af0df2f2f6a58f6cc4ee5899efcba2ee336
fix torch.distributed.elastic event docs (#64974)

Summary:
the example code wasn't working for me.

cc pietern mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse SciPioneer H-Huang cbalioglu gcramer23

Pull Request resolved: https://github.com/pytorch/pytorch/pull/64974

Reviewed By: kiukchung, cbalioglu

Differential Revision: D30926481

Pulled By: edward-io

fbshipit-source-id: f5e32cc2b948b6ee30d84a8247856f39fc786f67
torch/distributed/elastic/events/__init__.py