Skip to content

Commit d708b54

Browse files
authored
adding hf torch profile blog (#3931)
This PR adds https://huggingface.co/blog/torch-profiler as further reading material in the torch profiler tutorials.
1 parent 8e14c2a commit d708b54

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

beginner_source/profiler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,3 +319,4 @@ def forward(self, input, mask):
319319
# - `Profiler Usage Recipe <https://docs.pytorch.org/tutorials/recipes/recipes/profiler_recipe.html>`__
320320
# - `Profiling RPC-Based Workloads <https://pytorch.org/tutorials/recipes/distributed_rpc_profiling.html>`__
321321
# - `Profiler API Docs <https://pytorch.org/docs/stable/autograd.html?highlight=profiler#profiler>`__
322+
# - `Hugging Face PyTorch Profiler Blog Post <https://huggingface.co/blog/torch-profiler>`__

recipes_source/recipes/profiler_recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,4 +480,4 @@ def trace_handler(p):
480480
#
481481
# - `PyTorch Benchmark <https://pytorch.org/tutorials/recipes/recipes/benchmark.html>`_
482482
# - `Visualizing models, data, and training with TensorBoard <https://pytorch.org/tutorials/intermediate/tensorboard_tutorial.html>`_ tutorial
483-
#
483+
# - `Hugging Face PyTorch Profiler Blog Post <https://huggingface.co/blog/torch-profiler>`__

0 commit comments

Comments
 (0)