ai-infra-book
深入理解 AI Infra:量化分析与系统设计》(李博杰 著)开源书稿:从硬件约束和模型架构出发,量化推导 LLM 推理与训练系统设计。含全书正文、PDF、配套计算工具与实验
What XERJ indexed
Snapshot
Only book-zh-tw/tools at commit 51337f5c24 (2026-09-23). main is 45 commits ahead.
Selected work

“correct context-sensitive translations”. 35 files, 538 lines in book-zh-tw.
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-10. 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
acceleratorai-infraai-infrastructurebookdatacenter-networkdeepseekdistributed-systemsgpu
Example questions
- How does ai-infra-book implement accelerator?
- Where does ai-infra-book handle “correct context-sensitive translations”?
- What does book-zh-tw do in ai-infra-book?
Inside the indexed corpus
- 44,806 files, 2.4 GB in total, about 55.6 KB per file.
- The selected commit changed 35 of those files.
- Languages by size: Python 69.4%, Go 23.2%, C++ 3.4%, C 0.8%, Cuda 0.7%.
- On GitHub since 2026-08-22, last push 2026-10-01, 343 commits on main.
- The pin is 45 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for bojieli/ai-infra-book on 2026-10-31, and the LICENSE file at commit 51337f5c24 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Edward (@edward821220) has 1 selected repository on the hub.
Using XERJ with ai-infra-book
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 44,806 files.
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones bojieli/ai-infra-book at the pinned commit and indexes it on your machine.
Search the GitHub repository bojieli/ai-infra-book with XERJ (https://hub.xerj.org/corpus/bojieli--ai-infra-book). 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/bojieli/ai-infra-book ai-infra-book && git -C ai-infra-book checkout 51337f5c24146616e3939bd70e89b33f015b170f 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./ai-infra-book --url http://127.0.0.1:9200 --prefix ai-infra-book --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: Apache-2.0. Keep the copyright notice and credit the authors.
Related
EdwardAI, prompts and agents corporajaeger-docsdragonboatnats-serverdundysm/inference-under-pressurepegainfer-project/pegainferthu-pacman/chitu
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.