dotnet/aspire

Expose ability to run containers with access to GPUs

luisquintanilla opened this issue · 3 comments

One of the prerequisites for running AI container workloads on NVIDIA GPUs is the NVIDIA Container Toolkit.

Once that's installed, when you run the container, you need to pass the --gpus flag.

Right now there doesn't appear to be a way to configure a container resource in the AppHost project such that it can be started with GPU support, e.g. on Docker for Windows, the container must be run like docker run -d --gpus=all ....

@davidfowl. Looks like this is going to need to be pushed to Preview 6? Any objections?

Moving to P6. I don't see us getting the PR through on the app model side for P5.