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