tinygrad-npu-examples

LLMs on the Zhouyi X2 NPU (CIX P1 / Radxa Orion O6N) with tinygrad: Qwen3.6-35B-A3B, Ring-mini-2.0, LFM2.5, gpt-oss-20b, Gemma 4, Qwen3-30B-A3B, Qwen3.8-27B, Ternary Bonsai 2 (speculative + batched decode), plus Ideogram 4; a sequence-mixer kernel library; OpenAI- and Ollama-compatible servers

A new way for AI to search for data
View on GitHub
13GitHub stars
25commits on main
2forks

Python 98.9%, Shell 0.8%, C 0.3%, Tape 0.1% · created 2026-10-05 · last push 2026-10-29

What XERJ indexed

Snapshot

82 files · 2.4 MB

The whole repository at commit 734b0aa139 (2026-10-09). main is 18 commits ahead.

Selected work

“Gemma 4: text in and out (a tokenizer and chat template read from the…”. 6 files, 268 lines in gemma4, qwen3.8-27b.

Licence

The repository

AGPL-3.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Approach only

The author agreed by email on 2026-10-12. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: approach only

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported AGPL-3.0 for Reonarudo/tinygrad-npu-examples on 2026-10-31, and the LICENSE file at commit 734b0aa139 was reviewed as AGPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Leonardo Marques (@Reonarudo) has 1 selected repository on the hub.

Using XERJ with tinygrad-npu-examples

The prompt

Paste it into your AI agent. It clones Reonarudo/tinygrad-npu-examples at the pinned commit and indexes it on your machine.

Search the GitHub repository Reonarudo/tinygrad-npu-examples with XERJ (https://hub.xerj.org/corpus/reonarudo--tinygrad-npu-examples).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/Reonarudo/tinygrad-npu-examples tinygrad-npu-examples && git -C tinygrad-npu-examples checkout 734b0aa1396993329a0fd1057cf4cae4bb9b1b1b
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./tinygrad-npu-examples --url http://127.0.0.1:9200 --prefix tinygrad-npu-examples --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: AGPL-3.0. Read it for the approach only, do not copy code.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.