Skip to content

Commit

Permalink
compression: update script
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperzhong committed Apr 29, 2020
1 parent d1ae98a commit 89eb7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/mxnet/train_gluon_imagenet_byteps_gc.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def train(ctx):
setattr(
param, "byteps_compressor_onebit_enable_scale", opt.onebit_scaling)
if opt.compress_momentum:
setattr(param, "byteps_momentum_type", "vanilla")
setattr(param, "byteps_momentum_type", "nesterov")
setattr(param, "byteps_momentum_mu", opt.momentum)

if opt.compress_momentum:
Expand Down

0 comments on commit 89eb7b0

Please sign in to comment.