Browse Source

remove enable_hccl setting in context for vgg16

tags/v0.3.0-alpha
caojian05 5 years ago
parent
commit
a87e666e3e
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      example/vgg16_cifar10/train.py

+ 0
- 1
example/vgg16_cifar10/train.py View File

@@ -71,7 +71,6 @@ if __name__ == '__main__':
device_num = int(os.environ.get("DEVICE_NUM", 1))
if device_num > 1:
context.reset_auto_parallel_context()
context.set_context(enable_hccl=True)
context.set_auto_parallel_context(device_num=device_num, parallel_mode=ParallelMode.DATA_PARALLEL,
mirror_mean=True)
init()


Loading…
Cancel
Save