-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploying MONAI in Azure #144
Comments
@justinhorton2003 Thanks for the question. AWS offers EC2 instance with GPUs and those had been used for testing MONAI Deploy, including the MD Express. MONAI Deploy itself does NOT require GPU. The applications, in particular, inference applications such as the example LiverTumor and Lung Seg example MAPs, do expect a GPU to accelerate inference. Having said that, if you can get an instance with more CPU cores, the example apps will still run (since they fall back to CPU) but at a WAY slower speed, e.g. we had seen Liver Tumor Seg ran for 30 minutes with two CPU cores vs less than 2 mins with a T4 GPU. Also, it looks you are attempting to run Azure container to run MD Express docker compose, but the MD Express testing and target use case is that the user logs on to the host (EC2 instance or a VM or a container) to run MD Express containers. Running conainers in container comes with its own complexities, even though doable. |
@dbericat I would say it is always better to have a single assignee to follow through, though others can be mentioned/cc'ed in the issue. |
You are right. @JHancox @woodheadio @neildsouth |
Hi @justinhorton2003, you may find more information on how to enable NVIDIA GPUs on Azure from GPU optimized virtual machine sizes. As for Azure File Share, are you trying to set the data paths in the docker-compose.yml to use Azure File Share? You may find a tutorial from Azure here on how to setup an NFS Azure file share and mount it on a Linux VM. |
I created a single file share and copied the MONAI deploy express repo into it(thinking that I would have to do less work modifying the docker-compose.yml). Is this NFS File Share a way to create a VM that serves as the file system(or am I expected to run MD express in it)? How could I mount it in docker-compose.yml? Additionally, even if I could get a file share that works, how can GPU be specified if I'm trying to use the docker-compose.yml to build the whole thing(I saw that maybe ARM templates or other specifications need to be used). Thank you for your help. |
@JohnnyKHU may also ask questions(since I'm working on this with him). |
Hey! I've been trying to deploy MONAI deploy express with Azure Container Instances and modifying the available docker-compose.yml file, but because of inherent issues with mounting Fileshares and not fully knowing how to enable GPU for the containers when deploying with the docker-compose.yml with ACI I'm looking for suggestions.
What is the "best" or easiest way to deploy MONAI deploy (?express?) on Azure(of course, with GPU enabled)? Should I be using the HELM charts instead (with Azure Kubernetes) or should I still try the Docker method? Help appreciated
The text was updated successfully, but these errors were encountered: