Skip to content

Commit

Permalink
Proofread docstring of GPipe.worker
Browse files Browse the repository at this point in the history
  • Loading branch information
sublee committed Jun 13, 2019
1 parent bd1b0a8 commit da89663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgpipe/gpipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def worker(partition: Partition,
out_queue: PriorityQueue,
grad_enabled: bool,
) -> None:
"""A worker thread runs it."""
"""Run by worker threads."""
torch.set_grad_enabled(grad_enabled)

input: TensorOrTensors
Expand Down

0 comments on commit da89663

Please sign in to comment.