Deployment of custom Monai Application Package #454
Replies: 3 comments 11 replies
-
Did you check if docker is still running? Secondly, did you try restarting the docker daemon and then re-packaging and running the MAP? What are the other errors? Please specify the command that you are using to generate the MAP? |
Beta Was this translation helpful? Give feedback.
-
@vikashg @MMelQin |
Beta Was this translation helpful? Give feedback.
-
@ArpanGyawali Thanks for the questions. No worries, you had just gotten a taste of how tricky it is to navigate the different format and representation of image in different format/frameworks.
|
Beta Was this translation helpful? Give feedback.
-
I am trying to deploy a Monai-Application for Skull stripping that I created using Monai label. I have to deploy the application with the trained model for inference purpose.
So, i packaged the application using the monai-deploy. I am using the version 0.5.1. I followed the documentation of monai-deploy-app-sdk for Spleen Segmentation App.
I pushed the package in GitHub package (ghcr.io) using my GitHub token.
I can run the application using "monai-exec" easily but when I try to run the packaged application using this command:
monai-deploy run ghcr.io/my_organization_in_lower_case/my_image_name:latest input_dir output_dir
I need nvidia-docker to be installed in the system. I tried installing it and NVIDIA Container Toolkit based on this documentation by Nvidia, but I again get various errors and now i am stuck in "docker: Error response from daemon: Unknown runtime specified nvidia"
I also looked at this discussion on running a MAP container without using App SDK CLI. But, also here, Nvidia Container Toolkit and/or nvidia-docker 2 needs to be installed for support of GPU.
Can we package the application using any other non-nvidia(nvcr.io) base image so that it can be run in the system without GPU(inference on only CPU), or it doesnt require nvidia-docker to be installed in the system?
Is there is any way to run the application package only on CPU.
I have been stuck in this problem for a long time. Any help would be highly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions