remove enable_hccl setting in context for vgg16

This commit is contained in:
caojian05 2020-05-07 11:36:33 +08:00
parent 2c85295e18
commit a87e666e3e
1 changed files with 0 additions and 1 deletions

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()