I followed the instructions on the github
but am getting this error to run the included inferencing example
"AssertionError: Torch not compiled with CUDA enabled"
Is there support in the medsam code for pytorch's MPS backend( Metal Performance Shaders),
which is optimized for Apple's M-series GPUs ?
import torch
device = torch.device("mps") if torch.has_mps else torch.device("cpu")
model.to(device)
I followed the instructions on the github but am getting this error to run the included inferencing example "AssertionError: Torch not compiled with CUDA enabled"
Is there support in the medsam code for pytorch's MPS backend( Metal Performance Shaders), which is optimized for Apple's M-series GPUs ?