I went down exactly the same rabbit hole.
Spent weeks trying QAIRT, QNN, AI Hub, ExecuTorch, compiled binaries, and even rented a RunPod instance just to verify I wasn’t losing my mind. Nothing worked. I also found it very difficult to follow the Qualcomm documentation as several examples and workflows either didn’t match reality or simply didn’t work as expected.
Finally got Llama 3.2 1B running on the Hexagon NPU using TrailCurrent’s script, and I can also confirm it works on Armbian 26.2.4 (Ubuntu 24.04 LTS), not just the official Radxa OS.
Qualcomm’s AI ecosystem definitely isn’t for the faint-hearted. It feels like solving an escape room before you can run your first prompt. ![]()
My only remaining disappointment is the apparent 1024-token context window and ~250-token output limit. Is that a limitation of the compiled QAIRT model, Genie, or the backend itself?
The script I used downloads the precompiled binaries from ModelScope:
At least it finally got the NPU working. Hopefully larger context windows become possible in the future.