dome272/Diffusion-Models-pytorch

segmentation fault core dumped

NicolasNerr opened this issue · 2 comments

Hi !

Thank you for such great videos and the code !

I happen to have a "segmentation fault error (core dumped)"
"The segfault happens while pytorch was trying to raise a Type Error when constructing a Tensor."
Do you know where it might happen in the code ? weird that this error did not show earlier though.

Hey there and thanks for the nice words, Unfortunately, I can not say much with just this error line. It could be many things. Can you give me more context and paste the entire error log here? And did you try to run other trainings using pytorch on your machine which work?

I also occasionally run into this problem when I run code on a new server with 4090.
But with the old server I don't encounter this problem at all. I am also very confused.
so Code should be no problem, the reason of reporting this error “segmentation fault error (core dumped)” should be our own hardware device problems.