Open
Description
Hi there,
I am trying to run SamAutomaticMaskGenerator using device = 'mps' but I am getting the following error:
RuntimeError: Attempted to set the storage of a tensor on device "cpu" to a storage on different device "mps:0". This is no longer allowed; the devices must match.
I also tried to use device = 'cpu' but the same error appears. Is it possible to run this on M1 Max, and if so how could I fix this error?
Metadata
Metadata
Assignees
Labels
No labels