diffusers
3ceaa280 - Do not use torch.long in mps (#1488)

Commit
3 years ago
Do not use torch.long in mps (#1488) * Do not use torch.long in mps Addresses #1056. * Use torch.int instead of float. * Propagate changes. * Do not silently change float -> int. * Propagate changes. * Apply suggestions from code review Co-authored-by: Anton Lozhkov <anton@huggingface.co> Co-authored-by: Anton Lozhkov <anton@huggingface.co>
Author
Parents
Loading