vinvino02 / GLPDepth

GLPDepth PyTorch Implementation: Global-Local Path Networks for Monocular Depth Estimation with Vertical CutDepth
191 stars 44 forks source link

Apple M1 MPS device just gives noise #45

Open robagar opened 10 months ago

robagar commented 10 months ago

Hi - nice work btw!

On my M1 MacBook Pro it works perfectly on the CPU, but I just get noise if I try and use the hardware accelerated MPS device.

CPU: 0

MPS: 0

I assume this is really a PyTorch/MPS issue rather than with your code, but I wonder if you can shed any light on what the problem might be?

There are no errors indicating usage of PyTorch features unimplemented for Apple hardware, and unsurprisingly using PYTORCH_ENABLE_MPS_FALLBACK=1 has no effect.