Hacker GitHub

← All repos

Maratyszcza/NNPACK

View on GitHub ↗ ★ 1,711 C

Acceleration package for neural networks on multi-core CPUs

10 mentions on Hacker News by 7 people: 2 stories, 8 comments · first 2016-03-24 · latest 2019-02-12

Mentions per year 10 mentions · busiest year 2016 (5)
20082026
  1. …Xbyak - https://github.com/herumi/xbyak/blob/v5.751/gen/gen_avx512.c... [2]: NNPack + PeachPy - https://github.com/Maratyszcza/NNPACK/blob/af40ea7d/src/x86_... [3]: Apache Milagro Crypto - https://github.com/apache/incubator-milagro-crypto/…
  2. …and should not be called twice (EDIT: unless you can show a benchmark to prove me wrong). [1]: https://github.com/Maratyszcza/NNPACK/blob/master/src/x86_64...
  3. …is the actually used vectorized expf (similar to the one I linked, but with optional unrolling): https://github.com/Maratyszcza/NNPACK/blob/master/src/x86_64...
    comment by Marat_Dukhan · 2017-03-08 · in XLA: linear algebra library for TensorFlow
  4. …and correct, which is why I linked it here. Optimized implementation is in assembly (PeachPy). See https://github.com/Maratyszcza/NNPACK/blob/master/src/x86_64... for the vectorized expf
    comment by Marat_Dukhan · 2017-03-08 · in XLA: linear algebra library for TensorFlow
  5. …(and more efficient) C version of this algorithm, take a look at NNPACK reference implementation: https://github.com/Maratyszcza/NNPACK/blob/master/src/ref/so...
    comment by Marat_Dukhan · 2017-03-08 · in XLA: linear algebra library for TensorFlow
  6. https://github.com/Maratyszcza/NNPACK/blob/master/src/x86_64... (from https://github.com/Maratyszcza/NNPACK ) is also a pretty reasonable AVX2 GEMM implementation written in a Python assembler, it's a bit easier to follow than the OpenBLAS…
  7. …fp16 is a different story of course), and proper implementations on the CPU will get you there. https://github.com/Maratyszcza/NNPACK
  8. …relevant optimizations have come from folks in the community like Andrew Lavin and Marat Dukhan ( https://github.com/Maratyszcza/NNPACK ) which are focused more on optimizing both single-core efficiency as well as multi-core. 2. The way…