forked from mindspore-Ecosystem/mindspore
remove enable_hccl setting in context for vgg16
This commit is contained in:
parent
2c85295e18
commit
a87e666e3e
|
@ -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…
Reference in New Issue