Show HN: Npunlock – Run custom C kernels for Intel NPUs

(github.com)

19 points | by hsfzxjy 20 hours ago ago

3 comments

  • hsfzxjy 38 minutes ago

    Author here. Feel free to ask any questions :)

  • Gigachad 2 hours ago

    What is this useful for?

    • hsfzxjy 2 hours ago

      The main use is enabling developers to write their own NPU kernels according to their respective need, instead of picking workaround from what Intel provides in OpenVINO. I think the project would benefit three scenarios:

      1. Implement uncommon NN operators.

      2. Implement a high-precision (FP32, etc.) version of existing OpenVINO operators for numerically sensitive usage.

      3. Implement a mega kernel that fuse several small kernels together to reduce SHAVE invocations, and potentially improve performance.

      But most importantly, it gives you more control over the hardware you own. That control IMO should have been yours from day one you bought the machine.