Xilinx / logicnets

Apache License 2.0
81 stars 26 forks source link

Segfaults when running the examples on some platforms #38

Closed nickfraser closed 1 year ago

nickfraser commented 1 year ago

After the recent workaround for #30, the examples segfault on some systems. I need to track down the source of this issue - it wasn't present before the workaround (changing default installation of PyTorch from conda to PyPi).

Could it be related to CPU features?

Systems with the following CPUs segfault:

Systems with the following CPUs do not segfault:

malifarooq commented 1 year ago

Getting segfaults on my machine as well, running the following CPU

Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz

nickfraser commented 1 year ago

Thanks for letting me know - I've added it to the list. Can you try running #36? You will get slightly different accuracy, but I hope you won't get segfaults.

malifarooq commented 1 year ago

Yes, I ran #36 , not getting any segfaults. Thank you!

nickfraser commented 1 year ago

36 appears to resolve this issue.