Project-MONAI / Project-MONAI/monai-deploy-app-sdk

GPU Isolation and flexible deployment strategies [FEA]

Open
#243 2 comments 1 reaction 4 assignees View on GitHub

@GreySeaWolf is already working on this.

Since Jan 21, 2022.

enhancement
Dominant language
Python
Stars
138
Forks
70
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
If we consider a few scenarios where we need

  • to deploy multiple models for a single application.
  • deploy multiple models on the same machine with different GPU architectures.
  • lockin resources for deployment so I can do training with the remaining resources.

In all these examples, we want to assign a GPU to a model and do not want the inference service to take up the entire system. If we can isolate the GPU and pin it to a particular deployment, it will be really useful. In addition, this will also future proof our deployments. Imagine a scenario where we get new GPUs with new architectures. Maybe the deployment and the model and pytorch versions do not work with the new architecture. In such a case, we can add more GPUs without disturbing the deployments.

Describe alternatives you've considered
@slbryson has tried GPU isolation using clara CLI tools.

Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.