fix mgpu finalize issue
Browse files- configs/metadata.json +2 -1
- configs/multi_gpu_evaluate.json +1 -1
- configs/multi_gpu_train.json +1 -1
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.0
|
4 |
"changelog": {
|
|
|
5 |
"0.0.9": "Update README Formatting",
|
6 |
"0.0.8": "enable deterministic training",
|
7 |
"0.0.7": "Update with figure 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.0",
|
4 |
"changelog": {
|
5 |
+
"0.1.0": "fix mgpu finalize issue",
|
6 |
"0.0.9": "Update README Formatting",
|
7 |
"0.0.8": "enable deterministic training",
|
8 |
"0.0.7": "Update with figure links",
|
configs/multi_gpu_evaluate.json
CHANGED
@@ -28,6 +28,6 @@
|
|
28 |
"$@validate#evaluator.run()"
|
29 |
],
|
30 |
"finalize": [
|
31 |
-
"$dist.destroy_process_group()"
|
32 |
]
|
33 |
}
|
|
|
28 |
"$@validate#evaluator.run()"
|
29 |
],
|
30 |
"finalize": [
|
31 |
+
"$dist.is_initialized() and dist.destroy_process_group()"
|
32 |
]
|
33 |
}
|
configs/multi_gpu_train.json
CHANGED
@@ -39,6 +39,6 @@
|
|
39 |
"$@train#trainer.run()"
|
40 |
],
|
41 |
"finalize": [
|
42 |
-
"$dist.destroy_process_group()"
|
43 |
]
|
44 |
}
|
|
|
39 |
"$@train#trainer.run()"
|
40 |
],
|
41 |
"finalize": [
|
42 |
+
"$dist.is_initialized() and dist.destroy_process_group()"
|
43 |
]
|
44 |
}
|