You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, yesterday faced this issue, and solved it with a hack. Basically you should go into the unet.py (of the kandinsky library) and change self.use_fp16 = use_fp16 to self.use_fp16 = False #use_fp16; also you might probably need to chnage, in the conv.py of PyTorch library...
...in both cases the problem is that some weights of the model are changed to fp16, which is only accepted by the GPU, thus raising an error. .float() makes them fp32, which are CPU acceptable.
Code to reproduce:
after run
nvidia-smi
The text was updated successfully, but these errors were encountered: