monai
medical
katielink commited on
Commit
50ca96e
1 Parent(s): 4d487dc

fix mgpu finalize issue

Browse files
configs/metadata.json CHANGED
@@ -1,7 +1,8 @@
1
  {
2
  "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json",
3
- "version": "0.1.4",
4
  "changelog": {
 
5
  "0.1.4": "Update README Formatting",
6
  "0.1.3": "add non-deterministic note",
7
  "0.1.2": "Update figure with links",
 
1
  {
2
  "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_20220324.json",
3
+ "version": "0.1.5",
4
  "changelog": {
5
+ "0.1.5": "fix mgpu finalize issue",
6
  "0.1.4": "Update README Formatting",
7
  "0.1.3": "add non-deterministic note",
8
  "0.1.2": "Update figure with links",
configs/multi_gpu_evaluate.json CHANGED
@@ -27,6 +27,6 @@
27
  "$@validate#evaluator.run()"
28
  ],
29
  "finalize": [
30
- "$dist.destroy_process_group()"
31
  ]
32
  }
 
27
  "$@validate#evaluator.run()"
28
  ],
29
  "finalize": [
30
+ "$dist.is_initialized() and dist.destroy_process_group()"
31
  ]
32
  }
configs/multi_gpu_train.json CHANGED
@@ -38,6 +38,6 @@
38
  "$@train#trainer.run()"
39
  ],
40
  "finalize": [
41
- "$dist.destroy_process_group()"
42
  ]
43
  }
 
38
  "$@train#trainer.run()"
39
  ],
40
  "finalize": [
41
+ "$dist.is_initialized() and dist.destroy_process_group()"
42
  ]
43
  }