File tree Expand file tree Collapse file tree 4 files changed +20
-0
lines changed
docs/source/getting_started/tutorials Expand file tree Collapse file tree 4 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,14 @@ monai-deploy package examples/apps/mednist_classifier_monaideploy/mednist_classi
88
88
--model classifier.zip \
89
89
-l DEBUG
90
90
91
+ # For AMD GPUs, nvidia-docker is not required. Use --base [base image] option to override the docker base image.
92
+ # Please see https://hub.docker.com/r/rocm/pytorch for rocm/pytorch docker images.
93
+ monai-deploy package -b rocm/pytorch:rocm5.4.1_ubuntu20.04_py3.7_pytorch_1.12.1 \
94
+ examples/apps/mednist_classifier_monaideploy/mednist_classifier_monaideploy.py \
95
+ --tag mednist_app:latest \
96
+ --model classifier.zip \
97
+ -l DEBUG
98
+
91
99
# Run the app with docker image and input file locally
92
100
monai-deploy run mednist_app:latest input output
93
101
cat output/output.json
Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ monai-deploy exec ../examples/apps/ai_spleen_seg_app/app.py -i dcm/ -o output -m
66
66
# Please see https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker to install nvidia-docker2.
67
67
monai-deploy package examples/apps/ai_spleen_seg_app --tag seg_app:latest --model model.ts -l DEBUG
68
68
69
+ # For AMD GPUs, nvidia-docker is not required. Use --base [base image] option to override the docker base image.
70
+ # Please see https://hub.docker.com/r/rocm/pytorch for rocm/pytorch docker images.
71
+ monai-deploy package -b rocm/pytorch:rocm5.4.1_ubuntu20.04_py3.7_pytorch_1.12.1 examples/apps/ai_spleen_seg_app --tag seg_app:latest --model model.ts -l DEBUG
72
+
69
73
# Run the app with docker image and input file locally
70
74
monai-deploy run seg_app:latest dcm/ output
71
75
```
Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ monai-deploy exec ../examples/apps/examples/apps/ai_multi_ai_app/app.py -i dcm/
66
66
# Please see https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker to install nvidia-docker2.
67
67
monai-deploy package -b nvcr.io/nvidia/pytorch:22.08-py3 examples/apps/ai_multi_ai_app --tag multi_model_app:latest --model multi_models -l DEBUG
68
68
69
+ # For AMD GPUs, nvidia-docker is not required. Use --base [base image] option to override the docker base image.
70
+ # Please see https://hub.docker.com/r/rocm/pytorch for rocm/pytorch docker images.
71
+ monai-deploy package -b rocm/pytorch:rocm5.4.1_ubuntu20.04_py3.7_pytorch_1.12.1 examples/apps/ai_multi_ai_app --tag multi_model_app:latest --model multi_models -l DEBUG
72
+
69
73
# Run the app with docker image and input file locally
70
74
monai-deploy run multi_model_app:latest dcm/ output
71
75
```
Original file line number Diff line number Diff line change @@ -76,6 +76,10 @@ python examples/apps/ai_spleen_seg_app/app.py -i dcm/ -o output -m model.ts
76
76
# Please see https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker to install nvidia-docker2.
77
77
monai-deploy package examples/apps/ai_spleen_seg_app --tag seg_app:latest --model model.ts -l DEBUG
78
78
79
+ # For AMD GPUs, nvidia-docker is not required. Use --base [base image] option to override the docker base image.
80
+ # Please see https://hub.docker.com/r/rocm/pytorch for rocm/pytorch docker images.
81
+ monai-deploy package -b rocm/pytorch:rocm5.4.1_ubuntu20.04_py3.7_pytorch_1.12.1 examples/apps/ai_spleen_seg_app --tag seg_app:latest --model model.ts -l DEBUG
82
+
79
83
# Run the app with docker image and input file locally
80
84
monai-deploy run seg_app:latest dcm/ output
81
85
```
You can’t perform that action at this time.
0 commit comments