Everything you need to know about LLM inference
Everything you need to know about LLM inference
This repository contains the source for the LLM Inference Handbook, a practical guide for understanding, optimizing, scaling, and operating LLM inference systems.
The handbook is a standalone Docusaurus site styled with the Modular design
language system. Its future canonical source home is
modular/llm-inference-handbook.
Install dependencies and start the local development server:
pnpm install
pnpm startThe site runs at http://localhost:3000/.
To build or serve the production output locally:
pnpm build
pnpm serveMarkdown files are linted with rumdl. Prose is wrapped at 80 characters. Run the same checks as CI locally:
pnpm lint:md # check for issues
pnpm lint:md:fix # auto-fixSome line-length violations (long URLs, API references) may need manual reflow or `` blocks.
rumdl supports in-editor linting via:
pnpm exec rumdl vscode. See VS Code setup
below to match CI rules and enable fix-on-save.pnpm exec rumdl server and point
your editor's LSP client at it.By default the extension uses its own built-in rules, not this repo's config. To
match CI, point it at .rumdl.toml and apply rumdl fixes on save.
This repo ships recommended settings in
.vscode/recommended_settings.json. Either
copy those keys into .vscode/settings.json (workspace-scoped, gitignored) or
into your user settings (~/Library/Application Support/Cursor/User/settings.json
on macOS):
{
"rumdl.configPath": ".rumdl.toml",
"[markdown]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": { "source.fixAll.rumdl": "explicit" }
},
"[mdx]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": { "source.fixAll.rumdl": "explicit" }
},
"editor.rulers": [80]
}Install the recommended extensions when prompted, or open the Extensions view and run Extensions: Show Recommended Extensions.
Contributions are welcome! Feel free to open issues, suggest improvements, or submit pull requests.
This handbook follows the upstream dual-license posture:
docs/ folder are licensed under the
Creative Commons Attribution 4.0 International (CC BY 4.0) License.No open issues yet, or sync has not completed.