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

PyTorch profiler on all platforms #41

Open
4 tasks
hatanp opened this issue Jul 9, 2024 · 1 comment
Open
4 tasks

PyTorch profiler on all platforms #41

hatanp opened this issue Jul 9, 2024 · 1 comment
Assignees

Comments

@hatanp
Copy link
Collaborator

hatanp commented Jul 9, 2024

Validating and improving how profiling is done. Internal Ipex profiling example works in isolation, but with this Megatron-DeepSpeed we are missing the XPU outputs.

  • Timeline output with XPU, including kernels and communication
  • Compare support and output of the PyTorch legacy profiler
  • Check whether IPEX_ZE_TRACING=1 is needed and add that to relevant scripts
  • Generate smaller profiler output files by leveraging torch.profiler.schedule and profiler.step(). For example wait 2 steps, warmup for 2 steps, and then profile 2 steps and write the output.
@hatanp
Copy link
Collaborator Author

hatanp commented Jul 11, 2024

Intel guide can be found at https://intel.github.io/intel-extension-for-pytorch/xpu/latest/tutorials/features/profiler_kineto.html
Notable are the known issues and env variables.

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

2 participants