-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Rename the TPUSpawnStrategy to XLAStrategy #16781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
⚡ Required checks status: All passing 🟢Groups summary🟢 pytorch_lightning: Tests workflow
These checks are required after the changes to 🟢 pytorch_lightning: Azure GPU
These checks are required after the changes to 🟢 pytorch_lightning: Azure HPU
These checks are required after the changes to 🟢 pytorch_lightning: Azure IPU
These checks are required after the changes to 🟢 pytorch_lightning: Docs
These checks are required after the changes to 🟢 lightning_fabric: CPU workflow
These checks are required after the changes to 🟢 lightning_fabric: Azure GPU
These checks are required after the changes to 🟢 mypy
These checks are required after the changes to 🟢 installThese checks are required after the changes to 🟢 link-check
These checks are required after the changes to Thank you for your contribution! 💜
|
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…eature/rename-tpu-spawn
for more information, see https://pre-commit.ci
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #16781 +/- ##
=========================================
- Coverage 82% 59% -22%
=========================================
Files 441 416 -25
Lines 31660 31363 -297
=========================================
- Hits 25888 18603 -7285
- Misses 5772 12760 +6988 |
Nice! Some one was confused for this naming in https://discuss.pytorch.org/t/why-use-cuda-must-be-0-when-xla-cuda-1/172692 so I think this is a great move! |
What does this PR do?
tpu_spawn
toxla
The name was never accurate from the start. XLA has always used fork as the default launcher. This was already done in Fabric and now brings the two in line.
This change will be invisible for most users because it is never necessary to select the strategy explicitly when choosing accelerator=tpu.
Part of the Lightning 2.0 clean up.
Note: This will also make sense in the context of #16130
cc @Borda @JackCaoG @steventk-g @Liyang90 @justusschock @awaelchli @carmocca