ai-infra-book vs LocalAI

ai-infra-book and LocalAI share 38 technologies: FastAPI, pyarrow, Hugging Face, anyio, Lightning, uvicorn, Gradio, matplotlib, accelerate, llvmlite, MCP, mlx, mlx-lm, OpenAI, peft, sentencepiece, tiktoken, torch, transformers, torchvision, safetensors, einops, flash-attn, datasets, ONNX, diffusers, librosa, torchaudio, ModelScope, tokenizers, imageio, imageio-ffmpeg, markupsafe, pillow, av, jinja2, OpenTelemetry, and loguru. ai-infra-book is written in Python and LocalAI in Go.

Read it as markdown

What they share and what sets them apart

bojieli

ai-infra-book

《深入理解 AI Infra:量化分析与系统设计》(李博杰 著)开源书稿:从硬件约束和模型架构出发,量化推导 LLM 推理与训练系统设计。含全书正文、PDF、配套计算工具与实验

Python8kRead on November 17, 2026, at commit 3bdcb4fWhat is ai-infra-book built with?

Only in ai-infra-book

In common

mudler

LocalAI

LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.

Go50.4kRead on November 18, 2026, at commit bb42108What is LocalAI built with?

Only in LocalAI

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
ai-infra-book1,438,355 lines written1,748 code files
LocalAI1,664,476 lines written3,682 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
ai-infra-book16.6% of its commits signed by AIWith Claude Code and Codex
LocalAI6.6% of its commits signed by AIWith Claude Code, GitHub Copilot, and Cursor
ActivityFrom GitHub and its history, on the day SeeRepo read it.
ai-infra-bookLast push October 1, 2026314 commits8,032 stars
LocalAILast push November 18, 202610,101 commits50,425 stars
TestsThe files that test the code, and the share of code files a test imports.
ai-infra-book1,093 test files17.8% of its code files have a test that imports them
LocalAI3,671 test files62.1% of its code files have a test that imports them

Frequently asked questions

Which is bigger, ai-infra-book or LocalAI?
LocalAI, with 1,664,476 lines written; ai-infra-book has 1,438,355.

The proof: mudler/LocalAI's code at commit bb42108

Which has more GitHub stars, ai-infra-book or LocalAI?
LocalAI, with 50,425 stars; ai-infra-book has 8,032.

The proof: mudler/LocalAI on GitHub

Which has more tests, ai-infra-book or LocalAI?
LocalAI, with 3,671 test files; ai-infra-book has 1,093.

The proof: mudler/LocalAI's code at commit bb42108

Which was updated more recently, ai-infra-book or LocalAI?
LocalAI: its last push was on November 18, 2026, and ai-infra-book's on October 1, 2026.

The proof: mudler/LocalAI's commits on GitHub

Which has more commits signed by AI, ai-infra-book or LocalAI?
ai-infra-book: an AI signed 16.6% of its commits, with Claude Code and Codex; in LocalAI, 6.6%.

The proof: the commits each tool signed in bojieli/ai-infra-book

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.Private repo? Sign in with GitHub

Or look inside SeeRepo's own →