question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for latest PyTorch profiler

See original GitHub issue

🚀 Feature

Support for the “new” PyTorch profiler.

Motivation

Per the PyTorch docs, the torch.autograd profiler used in Lightning is legacy code and will be deprecated. The torch.profiler is much nicer and has been supported for over a year.

Pitch

Rename PyTorchProfiler to PyTorchAutogradProfiler and implement PyTorchProfiler as the new default profiler.

Alternatives

Keep PyTorchProfiler as the legacy profiler and implement PyTorchProfiler2 (or something) as an alternative profiler.

Additional context

N/A

cc @carmocca @kaushikb11 @ninginthecloud @rohitgr7

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

torch.profiler — PyTorch 1.13 documentation
PyTorch Profiler is a tool that allows the collection of performance metrics during training and inference. Profiler's context manager API can be used...
Read more >
Support for latest PyTorch profiler · Issue #12358 - GitHub
Per the PyTorch docs, the torch.autograd profiler used in Lightning is legacy code and will be deprecated. The torch.profiler is much nicer and ......
Read more >
PROFILING AND OPTIMIZING PYTORCH APPLICATIONS ...
... Microsoft) shares the most recent updates to PyTorch Profiler, a demo and tips for leveraging the Profiler API to help you quickly ......
Read more >
PyTorch Profiler and Designing Evolutionary Data Systems
This is a recording of a live meetup we ran on November 17th. PyTorch Proflier updates and a chat about Designing Evolutionary Data...
Read more >
What is the new PyTorch profiler? - eduCBA
A PyTorch Profiler is an open-source tool for analyzing and troubleshooting large-scale deep learning models with accuracy and efficiency. This new tool, which ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found