taming-transformers icon indicating copy to clipboard operation
taming-transformers copied to clipboard

can this library be used with torch.device("mps")?

Open dennex opened this issue 1 year ago • 0 comments

So far, I've seen that there are many flags that check for torch with cuda, and many cuda specific calls. I've commented the checks out and converted the devices to be used with "cpu" but it is very slow.

Is there a way to make this work with MPS?

I imagine we could go in and modify the code, and everything to float32 instead of float64?

dennex avatar Oct 04 '24 05:10 dennex