-
Notifications
You must be signed in to change notification settings - Fork 684
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add time/memory benchmark for maisi (#1879)
Fixes # . ### Description A few sentences describing the changes proposed in this pull request. ### Checks <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Avoid including large-size files in the PR. - [x] Clean up long text outputs from code cells in the notebook. - [x] For security purposes, please check the contents and remove any sensitive info such as user names and private key. - [x] Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the `./figure` folder - [ ] Notebook runs automatically `./runner.sh -t <path to .ipynb file>` --------- Signed-off-by: Can-Zhao <[email protected]> Signed-off-by: Can-Zhao <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
cf302c2
commit 7619862
Showing
13 changed files
with
326 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
generation/maisi/configs/config_infer_16g_256x256x128.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"num_output_samples": 1, | ||
"body_region": ["abdomen"], | ||
"anatomy_list": ["liver","hepatic tumor"], | ||
"controllable_anatomy_size": [], | ||
"num_inference_steps": 1000, | ||
"mask_generation_num_inference_steps": 1000, | ||
"output_size": [ | ||
256, | ||
256, | ||
128 | ||
], | ||
"image_output_ext": ".nii.gz", | ||
"label_output_ext": ".nii.gz", | ||
"spacing": [ | ||
1.5, | ||
1.5, | ||
4.0 | ||
], | ||
"autoencoder_sliding_window_infer_size": [96,96,96], | ||
"autoencoder_sliding_window_infer_overlap": 0.25, | ||
"autoencoder_tp_num_splits": 2 | ||
} |
23 changes: 23 additions & 0 deletions
23
generation/maisi/configs/config_infer_16g_256x256x256.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"num_output_samples": 1, | ||
"body_region": ["abdomen"], | ||
"anatomy_list": ["liver","hepatic tumor"], | ||
"controllable_anatomy_size": [], | ||
"num_inference_steps": 1000, | ||
"mask_generation_num_inference_steps": 1000, | ||
"output_size": [ | ||
256, | ||
256, | ||
256 | ||
], | ||
"image_output_ext": ".nii.gz", | ||
"label_output_ext": ".nii.gz", | ||
"spacing": [ | ||
1.5, | ||
1.5, | ||
2.0 | ||
], | ||
"autoencoder_sliding_window_infer_size": [48,48,64], | ||
"autoencoder_sliding_window_infer_overlap": 0.25, | ||
"autoencoder_tp_num_splits": 2 | ||
} |
23 changes: 23 additions & 0 deletions
23
generation/maisi/configs/config_infer_16g_512x512x128.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"num_output_samples": 1, | ||
"body_region": ["abdomen"], | ||
"anatomy_list": ["liver","hepatic tumor"], | ||
"controllable_anatomy_size": [], | ||
"num_inference_steps": 1000, | ||
"mask_generation_num_inference_steps": 1000, | ||
"output_size": [ | ||
512, | ||
512, | ||
128 | ||
], | ||
"image_output_ext": ".nii.gz", | ||
"label_output_ext": ".nii.gz", | ||
"spacing": [ | ||
0.75, | ||
0.75, | ||
4.0 | ||
], | ||
"autoencoder_sliding_window_infer_size": [64,64,32], | ||
"autoencoder_sliding_window_infer_overlap": 0.25, | ||
"autoencoder_tp_num_splits": 1 | ||
} |
23 changes: 23 additions & 0 deletions
23
generation/maisi/configs/config_infer_24g_256x256x256.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"num_output_samples": 1, | ||
"body_region": ["abdomen"], | ||
"anatomy_list": ["liver","hepatic tumor"], | ||
"controllable_anatomy_size": [], | ||
"num_inference_steps": 1000, | ||
"mask_generation_num_inference_steps": 1000, | ||
"output_size": [ | ||
256, | ||
256, | ||
256 | ||
], | ||
"image_output_ext": ".nii.gz", | ||
"label_output_ext": ".nii.gz", | ||
"spacing": [ | ||
1.5, | ||
1.5, | ||
2.0 | ||
], | ||
"autoencoder_sliding_window_infer_size": [64,64,64], | ||
"autoencoder_sliding_window_infer_overlap": 0.25, | ||
"autoencoder_tp_num_splits": 4 | ||
} |
23 changes: 23 additions & 0 deletions
23
generation/maisi/configs/config_infer_24g_512x512x128.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"num_output_samples": 1, | ||
"body_region": ["abdomen"], | ||
"anatomy_list": ["liver","hepatic tumor"], | ||
"controllable_anatomy_size": [], | ||
"num_inference_steps": 1000, | ||
"mask_generation_num_inference_steps": 1000, | ||
"output_size": [ | ||
512, | ||
512, | ||
128 | ||
], | ||
"image_output_ext": ".nii.gz", | ||
"label_output_ext": ".nii.gz", | ||
"spacing": [ | ||
0.75, | ||
0.75, | ||
4.0 | ||
], | ||
"autoencoder_sliding_window_infer_size": [80,80,32], | ||
"autoencoder_sliding_window_infer_overlap": 0.25, | ||
"autoencoder_tp_num_splits": 1 | ||
} |
23 changes: 23 additions & 0 deletions
23
generation/maisi/configs/config_infer_24g_512x512x512.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"num_output_samples": 1, | ||
"body_region": ["abdomen"], | ||
"anatomy_list": ["liver","hepatic tumor"], | ||
"controllable_anatomy_size": [], | ||
"num_inference_steps": 1000, | ||
"mask_generation_num_inference_steps": 1000, | ||
"output_size": [ | ||
512, | ||
512, | ||
512 | ||
], | ||
"image_output_ext": ".nii.gz", | ||
"label_output_ext": ".nii.gz", | ||
"spacing": [ | ||
0.75, | ||
0.75, | ||
1.0 | ||
], | ||
"autoencoder_sliding_window_infer_size": [64,64,48], | ||
"autoencoder_sliding_window_infer_overlap": 0.25, | ||
"autoencoder_tp_num_splits": 2 | ||
} |
23 changes: 23 additions & 0 deletions
23
generation/maisi/configs/config_infer_32g_512x512x512.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"num_output_samples": 1, | ||
"body_region": ["abdomen"], | ||
"anatomy_list": ["liver","hepatic tumor"], | ||
"controllable_anatomy_size": [], | ||
"num_inference_steps": 1000, | ||
"mask_generation_num_inference_steps": 1000, | ||
"output_size": [ | ||
512, | ||
512, | ||
512 | ||
], | ||
"image_output_ext": ".nii.gz", | ||
"label_output_ext": ".nii.gz", | ||
"spacing": [ | ||
0.75, | ||
0.75, | ||
1.0 | ||
], | ||
"autoencoder_sliding_window_infer_size": [64,64,64], | ||
"autoencoder_sliding_window_infer_overlap": 0.25, | ||
"autoencoder_tp_num_splits": 2 | ||
} |
23 changes: 23 additions & 0 deletions
23
generation/maisi/configs/config_infer_80g_512x512x128.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"num_output_samples": 1, | ||
"body_region": ["abdomen"], | ||
"anatomy_list": ["liver","hepatic tumor"], | ||
"controllable_anatomy_size": [], | ||
"num_inference_steps": 1000, | ||
"mask_generation_num_inference_steps": 1000, | ||
"output_size": [ | ||
512, | ||
512, | ||
128 | ||
], | ||
"image_output_ext": ".nii.gz", | ||
"label_output_ext": ".nii.gz", | ||
"spacing": [ | ||
0.75, | ||
0.75, | ||
4.0 | ||
], | ||
"autoencoder_sliding_window_infer_size": [128,128,32], | ||
"autoencoder_sliding_window_infer_overlap": 0.25, | ||
"autoencoder_tp_num_splits": 4 | ||
} |
23 changes: 23 additions & 0 deletions
23
generation/maisi/configs/config_infer_80g_512x512x512.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"num_output_samples": 1, | ||
"body_region": ["abdomen"], | ||
"anatomy_list": ["liver","hepatic tumor"], | ||
"controllable_anatomy_size": [], | ||
"num_inference_steps": 1000, | ||
"mask_generation_num_inference_steps": 1000, | ||
"output_size": [ | ||
512, | ||
512, | ||
512 | ||
], | ||
"image_output_ext": ".nii.gz", | ||
"label_output_ext": ".nii.gz", | ||
"spacing": [ | ||
0.75, | ||
0.75, | ||
1.0 | ||
], | ||
"autoencoder_sliding_window_infer_size": [80,80,80], | ||
"autoencoder_sliding_window_infer_overlap": 0.25, | ||
"autoencoder_tp_num_splits": 2 | ||
} |
Oops, something went wrong.