Skip to content

Commit

Permalink
Add definition to etrecord_path to the devtools tutorial
Browse files Browse the repository at this point in the history
Summary: This diff adds the definition for variable `etrecord_path`. `etrecord_path` was defined in previous steps in the tutorial, but when user gets to this step, they would usually start a new script, so we should define this variable again.

Differential Revision: D62921869
  • Loading branch information
Olivia-liu authored and facebook-github-bot committed Sep 18, 2024
1 parent 444480b commit 2a55757
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ def forward(self, x):
inspector_patch.start()
inspector_patch_print.start()
# sphinx_gallery_end_ignore
etrecord_path = "etrecord.bin"
etdump_path = "etdump.etdp"
inspector = Inspector(etdump_path=etdump_path, etrecord=etrecord_path)
# sphinx_gallery_start_ignore
Expand Down

0 comments on commit 2a55757

Please sign in to comment.