Skip to content

continue to fix distributed_type from TPU to XLA in LM examples (#38652) #38888

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PT0X0E
Copy link

@PT0X0E PT0X0E commented Jun 18, 2025

What does this PR do?

In some language-modeling and image-pretraining examples, the _no_trainer version training scripts check whether accelerator.distributed_type is TPU. However, TPU is already deprecated in new Accelerator library. They should be changed to XLA.

This is a follow-up fix of #38652 .

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@Rocketknight1
Copy link
Member

cc @SunMarc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants