I installed Pytorch 0.4.0a0+3749c58 from source on Raspberrry Pi 3B from this link 1. I created a swap memory of 10 GB.
When I am running simple mnist example on the board, it runs randomly less than for 100 iterations and then it gives

Segmentation Fault: Core dumped

When I see memory usage using htop, the 4 cores get utilized about 100% and the the segfault happens.
Any suggestions to counter this segfault ?