Skip to content

Commit

Permalink
Fix typo: paritions -> partitions
Browse files Browse the repository at this point in the history
  • Loading branch information
sublee committed Jun 17, 2019
1 parent afdee27 commit e74893a
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 @@ -234,7 +234,7 @@ def _partition(module: nn.Sequential,

if len(balance) > len(devices):
raise ValueError('too few devices to hold given partitions '
'(devices: %s, paritions: %d)' % (len(devices), len(balance)))
'(devices: %s, partitions: %d)' % (len(devices), len(balance)))

i = 0
partitions = []
Expand Down

0 comments on commit e74893a

Please sign in to comment.