Skip to content

Commit

Permalink
Revert "Fix: add event sync in fsdp tutorial (pytorch#3166)"
Browse files Browse the repository at this point in the history
This reverts commit 33a52a5.
  • Loading branch information
titaiwangms committed Jan 8, 2025
1 parent 8d1bfa5 commit 1fe28e2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion intermediate_source/FSDP_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ We add the following code snippets to a python script “FSDP_mnist.py”.
init_end_event.record()
if rank == 0:
init_end_event.synchronize()
print(f"CUDA event elapsed time: {init_start_event.elapsed_time(init_end_event) / 1000}sec")
print(f"{model}")
Expand Down

0 comments on commit 1fe28e2

Please sign in to comment.