Skip to content

pgmoka/ptxla-gSPMD-xprof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Sample of PyTorchXLA using gSPMD being analyzed with XProf

This repo contains a sample MNIST example using gSPMD with XProf.

To set-up your environment, follow the steps in https://github.com/pytorch/xla/blob/master/CONTRIBUTING.md.

You can then follow the steps in https://cloud.google.com/tpu/docs/pytorch-xla-performance-profiling-tpu-vm to capture the profile generated, and analyze the model.

Note that this toy example is not particularly optimized, and aims primarily to serve as an example. In my case, I ran in a v6e-8 TPU, but it it an example not bound by any particular TPU.

About

Example of using XProf with gSPMD with PyTorchXLA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages