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

Fix nightly build warning #15248

Merged
merged 2 commits into from
Jun 15, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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