Maratyszcza / NNPACK

Acceleration package for neural networks on multi-core CPUs
BSD 2-Clause "Simplified" License
1.67k stars 315 forks source link

NNPACK builds are not bit-for-bit reproducible #206

Closed civodul closed 2 years ago

civodul commented 2 years ago

NNPACK builds are not bit-for-bit reproducible as of commit c07e3a0400713d546e0dea2d5466dd22ea389c73.

As initially reported, investigation suggests that the source of non-determinism has to do with code generated by files such as src/x86_64-fma/2d-fourier-8x8.py using PeachPy: the order of symbols such as nnp_fft8x8_with_offset_and_stream__avx2.__local0 differs between the two different libnnpack.so builds (the original report has more details).

Any ideas how to address this?

Maratyszcza commented 2 years ago

See Maratyszcza/PeachPy#88