liuliu / swift-diffusion

BSD 3-Clause "New" or "Revised" License
423 stars 33 forks source link

Rare and non reproducible random crashes #37

Closed ghost closed 1 year ago

ghost commented 1 year ago

I've seen that sometimes it just randomly crashes and gives a seg fault.

ive seen that the draw things app also crashes sometimes like that.

it could be when other processes are taking GPU memory or something.

ghost commented 1 year ago

I have a feeling that it happens in transferring data b/w GPU/CPU in mps

liuliu commented 1 year ago

Hi, if you have stacktrace, that would be helpful!

Also, s4nnc is largely not thread-safe, and meant to be operated within one thread, that might / might not be relevant.

ghost commented 1 year ago

I am not able to reproduce it again. Thanks