r/StableDiffusion • u/Aqwis • Sep 11 '22
A better (?) way of doing img2img by finding the noise which reconstructs the original image Img2Img
View all comments
Show parent comments
6
Sorry, I went and added pil_img_to_torch to the gist now! I removed collect_and_empty a couple of hours ago as it was slowing things down and the VRAM issue mysteriously vanished.
2 u/rservello Sep 12 '22 Input type (torch.cuda.HalfTensor) and weight type (torch.cuda.FloatTensor) should be the same thoughts on this error now? 1 u/Etiennera Sep 12 '22 Did you halve your model to save vram? 1 u/rservello Sep 12 '22 I did. But I tried at full and get the same error.
2
Input type (torch.cuda.HalfTensor) and weight type (torch.cuda.FloatTensor) should be the same
thoughts on this error now?
1 u/Etiennera Sep 12 '22 Did you halve your model to save vram? 1 u/rservello Sep 12 '22 I did. But I tried at full and get the same error.
1
Did you halve your model to save vram?
1 u/rservello Sep 12 '22 I did. But I tried at full and get the same error.
I did. But I tried at full and get the same error.
6
u/Aqwis Sep 12 '22
Sorry, I went and added pil_img_to_torch to the gist now! I removed collect_and_empty a couple of hours ago as it was slowing things down and the VRAM issue mysteriously vanished.