stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

fix soft inpainting on mps and xpu, torch_utils.float64

Open w-e-w opened this issue 1 year ago • 0 comments

Description

  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/15684
  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/15800

torch_utils.float64 return torch.float64 or torch.float32 base on torch.Tensor.device.type

not sure if this is the best solution to solve this ideally there should be a way to solve this globally

note: logically this should workrl but as I don't have mps or xpu device so this is technically not fully tested

Checklist:

w-e-w avatar May 16 '24 14:05 w-e-w