Skip to content

Commit

Permalink
hotfix: use default num_threads (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperzhong committed Jun 23, 2020
1 parent 7a0bea6 commit b261e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion byteps/mxnet/compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def decompress(self, tensor, ctx, *args, **kwargs):

class WeightDecayMomentum(Compressor):
"""For 1bit compression."""
pool = concurrent.futures.ThreadPoolExecutor(max_workers=4)
pool = concurrent.futures.ThreadPoolExecutor()

def __init__(self, compressor, mu, wd):
self.compressor = compressor
Expand Down

0 comments on commit b261e4b

Please sign in to comment.