Skip to content
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

How to do multi-machine SPMD/FSDPv2 training with TPU? #8492

Open
radna0 opened this issue Dec 13, 2024 · 2 comments
Open

How to do multi-machine SPMD/FSDPv2 training with TPU? #8492

radna0 opened this issue Dec 13, 2024 · 2 comments

Comments

@radna0
Copy link

radna0 commented Dec 13, 2024

❓ Questions and Help

I saw #6362 but there's no example training script found? For example, if I have multiple TPU v3-8 VMs, how would I achieve this with SPMD/FSDPv2?

I'm currently sending the commands to all TPU VMs this way:

python3.10 podrun --include-local -- hostname
@radna0 radna0 changed the title How to do multi-machine spmd training with TPU? How to do multi-machine SPMD/FSDPv2 training with TPU? Dec 13, 2024
@radna0
Copy link
Author

radna0 commented Dec 14, 2024

*Update: I found https://github.com/pytorch/xla/blob/master/docs/source/perf/spmd_distributed_checkpoint.md#process-groups
Is there any example script for this?

@radna0
Copy link
Author

radna0 commented Dec 20, 2024

Anybody can help? I'm still stuck on this

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

No branches or pull requests

1 participant