ControlNet-for-Diffusers icon indicating copy to clipboard operation
ControlNet-for-Diffusers copied to clipboard

'Segmentation fault (core dumped)'

Open blx0102 opened this issue 2 years ago • 2 comments

Hi mate, when I was using tool_transfer_control.py, I got the segmentation fault error, all the models were downloaded from official link. Do you have any idea to solve it?

blx0102 avatar Mar 13 '23 12:03 blx0102

Could you provide your full scripts?

haofanwang avatar Mar 14 '23 17:03 haofanwang

actually i have met the same problem. I think we can put the tensor to gpu to solve the problem. It is because the cpu resource is too tight.

p_new = p.cuda() + input_state_dict[sd15_key_name].cuda() - sd15_state_dict[sd15_key_name].cuda()

Then I can solve the problem.

maobenz avatar Mar 27 '23 08:03 maobenz