|
|
|
@ -63,7 +63,6 @@ def set_config(args):
|
|
|
|
|
"keep_checkpoint_max": 200,
|
|
|
|
|
"save_checkpoint_path": "./",
|
|
|
|
|
"platform": args.platform,
|
|
|
|
|
"ccl": "nccl",
|
|
|
|
|
"run_distribute": args.run_distribute,
|
|
|
|
|
"activation": "Softmax",
|
|
|
|
|
"export_format": "MINDIR",
|
|
|
|
@ -88,7 +87,6 @@ def set_config(args):
|
|
|
|
|
"keep_checkpoint_max": 200,
|
|
|
|
|
"save_checkpoint_path": "./",
|
|
|
|
|
"platform": args.platform,
|
|
|
|
|
"ccl": "hccl",
|
|
|
|
|
"device_id": int(os.getenv('DEVICE_ID', '0')),
|
|
|
|
|
"rank_id": int(os.getenv('RANK_ID', '0')),
|
|
|
|
|
"rank_size": int(os.getenv('RANK_SIZE', '1')),
|
|
|
|
|