Closed tomaroberts closed 1 year ago
Fixed – basically for a MAP, remember to add the resource
decorator where the Application class is constructed.
e.g. line 48 in here: https://github.com/Project-MONAI/monai-deploy-app-sdk/blob/main/examples/apps/ai_livertumor_seg_app/app.py
@resource(cpu=1, gpu=1, memory="32Gi")
Currently, the TotalSegmentator MAP runs, but it is failing to use the GPU.
I have run TotalSegmentator via Python on the same machine, where it does use the GPU, so it seems this is an issue related to Docker/the MAP.