[Train] Update elastic training accelerator examples in docs#64284
[Train] Update elastic training accelerator examples in docs#64284avigyabb wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the elastic training documentation to include support for TPUs. It replaces the single GPU example with a tabbed set showing both GPU and TPU configurations, and removes the limitation stating that TPU elastic training is unsupported. The feedback points out a minor typo with double periods in the TPU example description.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Signed-off-by: Avigya Basnet <avigyabb@stanford.edu>
7122f0f to
80308b7
Compare
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: avigyabb <98926738+avigyabb@users.noreply.github.com>
liulehui
left a comment
There was a problem hiding this comment.
Thank you!
Could you follow https://docs.ray.io/en/latest/ray-contribute/docs.html this doc to start the doc server locally to view the new changes, plz also attach screenshots of the corresponding doc change part in the PR description.
Description
Updates the Ray Train elastic training docs to show accelerator-specific examples for both GPUs and TPUs.
This removes the outdated TPU limitation and adds a
JaxTrainerexample for elastic training across TPU slices. The TPU example documents that elastic worker ranges must align with complete TPU slices, matching the existing accelerator guide andScalingConfigvalidation behavior.Screenshots:

