-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add a deprecation notice to the Profile Tensorboard tutorial #3128
Conversation
svekars
commented
Oct 30, 2024
•
edited
Loading
edited
- Add a note about deprecation of the profiler use case in the Profiler Tensorboard tutorial and suggest using Perfetto or Chrome trace instead.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/3128
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 5c8915b with merge base 8d19c5c (): This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine from the profiler side since we use perfetto/chrome tracer now. Please check in with other teams if they advertise TB before merging though!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it looks like only the profiler integration is deprecated...let's not touch the other stuff until we're confirmed
|
||
This tutorial has been deprecated. | ||
|
||
Redirecting in 3 seconds... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of redirecting this one, we should add a "use the perfetto with the trace.json instead" comment, similar to the note in https://pytorch.org/tutorials/advanced/cpp_extension.html
The warning I'd imagine would say:
Tensorboard integration with the profiler is now deprecated in favor of using perfetto or the chrome trace for viewing trace.jsons. After generating a trace, please drag the trace.json
into perfetto or chrome://tracing to visualize your profile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should keep this one for now, we don't know if Tensorboard UI is deprecated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same with keeping this one! THough....who even does work on Tensorboard now....
index.rst
Outdated
@@ -88,13 +88,6 @@ Welcome to PyTorch Tutorials | |||
:link: beginner/nn_tutorial.html | |||
:tags: Getting-Started | |||
|
|||
.. customcarditem:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep
index.rst
Outdated
@@ -956,7 +941,6 @@ Additional Resources | |||
beginner/pytorch_with_examples | |||
beginner/nn_tutorial | |||
intermediate/nlp_from_scratch_index | |||
intermediate/tensorboard_tutorial |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep?
index.rst
Outdated
@@ -942,7 +928,6 @@ Additional Resources | |||
beginner/introyt/tensors_deeper_tutorial | |||
beginner/introyt/autogradyt_tutorial | |||
beginner/introyt/modelsyt_tutorial | |||
beginner/introyt/tensorboardyt_tutorial |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep?
beginner_source/introyt/tocyt.txt
Outdated
@@ -2,6 +2,5 @@ | |||
2. `Introduction to PyTorch Tensors <introyt/tensors_deeper_tutorial.html>`_ | |||
3. `The Fundamentals of Autograd <introyt/autogradyt_tutorial.html>`_ | |||
4. `Building Models with PyTorch <introyt/modelsyt_tutorial.html>`_ | |||
5. `PyTorch TensorBoard Support <introyt/tensorboardyt_tutorial.html>`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we keep all the yt ones just cuz removing one would be a bit incoherent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change the PR title to reflect the change too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine otherwise, one last thing to keep