From a4ca884c9317c7c94153feab3783e1be73b39944 Mon Sep 17 00:00:00 2001 From: morrison-turnansky Date: Tue, 11 Nov 2025 15:42:04 +0000 Subject: [PATCH 1/2] updated link to profiler_recipe --- beginner_source/profiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beginner_source/profiler.py b/beginner_source/profiler.py index b395edbaca6..5b4c23c9856 100644 --- a/beginner_source/profiler.py +++ b/beginner_source/profiler.py @@ -316,6 +316,6 @@ def forward(self, input, mask): # We have seen how Profiler can be used to investigate time and memory bottlenecks in PyTorch models. # Read more about Profiler here: # -# - `Profiler Usage Recipe `__ +# - `Profiler Usage Recipe `__ # - `Profiling RPC-Based Workloads `__ # - `Profiler API Docs `__ From 586b97331b084760559bf3727560e05868598a00 Mon Sep 17 00:00:00 2001 From: sekyondaMeta <127536312+sekyondaMeta@users.noreply.github.com> Date: Tue, 11 Nov 2025 11:00:43 -0500 Subject: [PATCH 2/2] Update profiler.py --- beginner_source/profiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beginner_source/profiler.py b/beginner_source/profiler.py index 5b4c23c9856..0b690097200 100644 --- a/beginner_source/profiler.py +++ b/beginner_source/profiler.py @@ -2,7 +2,7 @@ Profiling your PyTorch Module ----------------------------- -**Author:** `Suraj Subramanian `_ +**Author:** `Suraj Subramanian `_ PyTorch includes a profiler API that is useful to identify the time and memory costs of various PyTorch operations in your code. Profiler can be