Torch.embedding fails with RuntimeError: Placeholder storage has not been allocated on MPS device!

Hi,

Did you make sure that you moved both your model and your input to the “mps” device?

2 Likes