Skip to content

Commit 1fe28e2

Browse files
committed
Revert "Fix: add event sync in fsdp tutorial (pytorch#3166)"
This reverts commit 33a52a5.
1 parent 8d1bfa5 commit 1fe28e2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

intermediate_source/FSDP_tutorial.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ We add the following code snippets to a python script “FSDP_mnist.py”.
251251
init_end_event.record()
252252
253253
if rank == 0:
254-
init_end_event.synchronize()
255254
print(f"CUDA event elapsed time: {init_start_event.elapsed_time(init_end_event) / 1000}sec")
256255
print(f"{model}")
257256

0 commit comments

Comments
 (0)