Skip to content

Commit 8d44e96

Browse files
committed
fixes fasttraining
Signed-off-by: Wenqi Li <[email protected]>
1 parent 41ba80d commit 8d44e96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acceleration/fast_training_tutorial.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@
614614
" with torch.no_grad():\n",
615615
" val_loader_iterator = iter(val_loader)\n",
616616
"\n",
617-
" for val_step in range(len(val_loader)):\n",
617+
" for _ in range(len(val_loader)):\n",
618618
" # profiling: val dataload\n",
619619
" with nvtx.annotate(\"dataload\", color=\"red\") if profiling else no_profiling:\n",
620620
" val_data = next(val_loader_iterator)\n",

0 commit comments

Comments
 (0)