Torch sparse tensor unsupported at mps

I have sparse tensor for handling graph representation, however it can’t be processed by ‘mps’, I wonder if there is a workaround ?
Error I get:
NotImplementedError: Unsupported device type for sparse layout: mps

Hi,

Sparse support is not planned yet I’m afraid.
You should be able to run that part on the CPU and then transfer to do dense ops on the MPS side.