dome272 / Diffusion-Models-pytorch

Pytorch implementation of Diffusion Models (https://arxiv.org/pdf/2006.11239.pdf)
Apache License 2.0
1.11k stars 256 forks source link

segmentation fault core dumped #4

Open NicolasNerr opened 1 year ago

NicolasNerr commented 1 year ago

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.

dome272 commented 1 year ago

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?

InsaneGe commented 1 year ago

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.