Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix nightly build warning (#15248)
Browse files Browse the repository at this point in the history
* Fix nightly build warning

* Force build
  • Loading branch information
Ishitori authored and szha committed Jun 15, 2019
1 parent 45844b2 commit 5b1603f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/gluon/multi_gpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ for epoch in range(num_epochs):

# Update the parameters by stepping the trainer; the batch size
# is required to normalize the gradients by `1 / batch_size`.
trainer.step(batch_size=actual_batch_size)
trainer.step(batch_size=actual_batch_size, ignore_stale_grad=True)

# Print the evaluation metric and reset it for the next epoch
name, acc = metric.get()
Expand Down

0 comments on commit 5b1603f

Please sign in to comment.