Skip to content

Building CMSIS-NN Python extension #229

Description

@christophe0606

Building the CMSIS-NN Python extension on all platforms (Mac, Linux, Windows ...) with different compilers is not easy.

But, it looks like, the only use of this extension in the executorch Cortex-M backend is to have access to some constants:
executorch\backends\cortex_m\target_config.py

There are some use of the API but it looks like it is for tests:
backends\cortex_m\test\misc\test_cmsis_pybind.py

So perhaps it would be simpler to have two cmsis-nn Python extensions:

  • One pure Python based that expose the constant needed by Cortex-M backend
  • Another one that gives access to the functions for testing purposes ?

It would simplify the installation for people who only want to use executorch.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions