Contribute

How to get involved with the Open Inference Stack & Model Citizen.

The Open Inference Stack is built the same way as the rest of the Linux graphics stack: in public open source projects, upstream, with code review.

To become a contributor to the stack, you just need to follow the usual contribution norms for those projects.

Where the code lives #

PartWhere
Kernel driversdrivers/accel/ in Linux (etnaviv is in drivers/gpu/drm/etnaviv/)
Teflon & Torx frontendssrc/gallium/frontends/ in Mesa
Mesa NPU driverssrc/gallium/drivers/ (etnaviv, rocket, ethosu, …)

Read the project’s own developer guidelines:

Development discussions for the stack can be found in #ml-mainline on OFTC IRC.

Supporting new hardware #

Want to add support for a new NPU or AI accelerator? See Supporting new hardware.

Other ways to get involved #

  • Test models. Run your models with TEFLON_DEBUG=verbose, compare NPU and CPU results, and share what works and what does not.
  • Report bugs to the Mesa issue tracker with the model, the board, the kernel and Mesa versions, and the verbose log.
  • Package it. Make sure your distribution enables the NPU drivers in its kernel and ships Mesa with the open NPU drivers and frontends.
  • Add operations. Supporting one more ML operation in an existing driver is a good first contribution, and it helps every model that uses it.
  • Spread the word. Help us increase adoption and grow the community around the Open Inference Stack.

Contribute to Model Citizen #

This site is written in Markdown and built with Hugo. Every page has an Edit this page link at the bottom. Corrections, new board guides and better explanations are all welcome: open an issue or a pull request on GitHub.

Edit this page · View as Markdown