Code Monkey home page Code Monkey logo

Comments (7)

adamjstewart avatar adamjstewart commented on June 8, 2024

This error occurs for me on both Ubuntu 18.04 with GCC 7.5.0 and on macOS 10.15.7 with Apple Clang 12.0.0.

from nnpack.

adamjstewart avatar adamjstewart commented on June 8, 2024

It looks like peachpy/x86_64/avx.py is supposed to be generated by opcodes. If I build peachpy on its own it works fine. I'm guessing there's something wrong in the CMake configuration and opcodes isn't being used.

from nnpack.

adamjstewart avatar adamjstewart commented on June 8, 2024

Workaround: if I set -DNNPACK_BACKEND=psimd I can skip the peachpy dependency altogether and get NNPACK to build. I have no idea what the performance consequences of this are.

from nnpack.

adamjstewart avatar adamjstewart commented on June 8, 2024

I think when PYTHON_PEACHPY_SOURCE_DIR is set, we don't run python setup.py generate. Also, I noticed that the PYTHONPATH gets overridden, so Python can't find my setuptools which is set in a different directory.

from nnpack.

jhw-Dennis avatar jhw-Dennis commented on June 8, 2024

Hi I've been stacked by the same problem when building pytorch, which uses NNpack and peachpy as submodules. Do you have any idea to fix this? Thanks!

from nnpack.

redradist avatar redradist commented on June 8, 2024

Probably it could be related #202
See ... ${CMAKE_CURRENT_LIST_DIR}/src/x86_64-fma) in patch

from nnpack.

KangkangStu avatar KangkangStu commented on June 8, 2024

Hi I've been stacked by the same problem when building pytorch, which uses NNpack and peachpy as submodules. Do you have any idea to fix this? Thanks!

Hello,I also encountered this issue while installing Pytorch and it has now been solved.You need to execute python setup.py generate under /pytorch/third_party/python-peachpy/ path

from nnpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.