Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Segmentation fault (core dumped)' #32

Open
blx0102 opened this issue Mar 13, 2023 · 2 comments
Open

'Segmentation fault (core dumped)' #32

blx0102 opened this issue Mar 13, 2023 · 2 comments

Comments

@blx0102
Copy link

blx0102 commented Mar 13, 2023

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?

@haofanwang
Copy link
Owner

Could you provide your full scripts?

@maobenz
Copy link

maobenz commented Mar 27, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants