Skip to content

Commit a77a9d6

Browse files
committed
compression: update script
1 parent 96c4653 commit a77a9d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/mxnet/train_gluon_imagenet_byteps_gc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def train(ctx):
402402
setattr(
403403
param, "byteps_compressor_onebit_enable_scale", opt.onebit_scaling)
404404
if opt.compress_momentum:
405-
setattr(param, "byteps_momentum_type", "vanilla")
405+
setattr(param, "byteps_momentum_type", "nesterov")
406406
setattr(param, "byteps_momentum_mu", opt.momentum)
407407

408408
if opt.compress_momentum:

0 commit comments

Comments
 (0)