minor fix for elastic doc (#64531)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64531
fix #64530
Test Plan: unit test
Reviewed By: mrshenli
Differential Revision: D30760879
fbshipit-source-id: 94ed1476e886513427d928a36f5be6b9bfff0826