What XERJ indexed
Snapshot
Only cmake, csrc, docs/api/en, docs/api/zh, python/sgl_kernel_npu, tests/python/operators/sampler at commit 19be32b9cc (2026-10-28). main is 8 commits ahead.
Selected work

“[Refactor] Add standalone CANN/ACLNN build and migrate apply_token_bi…”. 19 files, 2,131 lines in csrc, python, cmake.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-31. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
Example questions
- What does csrc do in sgl-kernel-npu?
Inside the indexed corpus
- Languages by size: C++ 81.4%, Python 16.8%, CMake 0.9%, Shell 0.5%, C 0.3%.
- On GitHub since 2025-07-22, last push 2026-10-31, 498 commits on main.
- The pin is 8 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for sgl-project/sgl-kernel-npu on 2026-10-31, and the LICENSE file at commit 19be32b9cc was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Yuejia Tong (@yuejiat0416) has 1 selected repository on the hub.
Using XERJ with sgl-kernel-npu
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
The prompt
Paste it into your AI agent. It clones sgl-project/sgl-kernel-npu at the pinned commit and indexes it on your machine.
Search the GitHub repository sgl-project/sgl-kernel-npu with XERJ (https://hub.xerj.org/corpus/sgl-project--sgl-kernel-npu). 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/sgl-project/sgl-kernel-npu sgl-kernel-npu && git -C sgl-kernel-npu checkout 19be32b9cc4f2ab8bb6d543740d85cf68d3a10f7 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./sgl-kernel-npu --url http://127.0.0.1:9200 --prefix sgl-kernel-npu --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: MIT. Keep the copyright notice and credit the authors.
Related
Yuejia TongAPI design and specification corpora
Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.