Local LLM Inference

On-device inference, MLX, vLLM, local/offline AI serving, and Apple Silicon stacks

130 explainers
HealthTwin AI: The Health Simulator That Turns One Form Into Five Predictions
Local LLM Inference
HealthTwin AI: The Health Simulator That Turns One Form Into Five Predictions
A fast, offline-first digital twin uses model translation, Monte Carlo forecasting, and SHAP-ranked advice to turn raw health data into something a person can actually act on.
8 min read
dgx-serve-vllm-gemma4: A private Gemma 4 server that behaves like infrastructure, not a demo
Local LLM Inference
dgx-serve-vllm-gemma4: A private Gemma 4 server that behaves like infrastructure, not a demo
anthonywu's deployment stack turns vLLM, Tailscale, Docker, and systemd into a bootable AI appliance for DGX hardware.
10 min read
The No-Math AI: Deconstructing chenglou/mnist
Local LLM Inference
The No-Math AI: Deconstructing chenglou/mnist
How a React pioneer built a digit classifier without neural networks, backpropagation, or a single machine learning dependency.
6 min read
200 Lines to Symphony: The Minimalist Anatomy of tiny-musicgen
Local LLM Inference
200 Lines to Symphony: The Minimalist Anatomy of tiny-musicgen
Stripping Meta's MusicGen down to its mathematical bones to run state-of-the-art generative audio on a laptop.
mlx: The Zero-Config Lab Notebook for the Minimalist Researcher
Local LLM Inference
mlx: The Zero-Config Lab Notebook for the Minimalist Researcher
A local-first experiment tracker that replaces heavy cloud infrastructure with a hidden folder and a punchy CLI.
6 min read
RepoExplain Wraps a Small Local Model in a Deterministic Pipeline
Local LLM Inference
RepoExplain Wraps a Small Local Model in a Deterministic Pipeline
Eight4bit's CLI answers questions about unfamiliar codebases on 8 GB of RAM, with no API keys and no cloud. Every design choice assumes the model is the least reliable part.
9 min read
FMML_COURSE_ASSIGNMENTS: A Repo That Teaches Machine Learning by Showing Its Gears
Local LLM Inference
FMML_COURSE_ASSIGNMENTS: A Repo That Teaches Machine Learning by Showing Its Gears
A notebook-first curriculum from IIIT Hyderabad that turns linear algebra, distance metrics, and data augmentation into something students can actually see.
10 min read
minor-project: What a Transformer Looks Like in Raw C
Local LLM Inference
minor-project: What a Transformer Looks Like in Raw C
A from-scratch neural network framework that turns backprop, attention, and image operators into explicit loops, buffers, and pointer math.
8 min read
text2sql-assistant: Nexus AI Query: The Local-First Text-to-SQL Copilot That Keeps Your Schema at Home
Local LLM Inference
text2sql-assistant: Nexus AI Query: The Local-First Text-to-SQL Copilot That Keeps Your Schema at Home
A FastAPI, React, and Ollama stack that turns natural language into PostgreSQL queries without sending your data to a cloud model.
9 min read
appwrite/docker-ollama: Baking AI Models Into Docker Layers
Local LLM Inference
appwrite/docker-ollama: Baking AI Models Into Docker Layers
How Appwrite uses a build-time Ollama server, multi-arch Docker tricks, and pre-pulled weights to make local inference start instantly.
8 min read
molecular-similarity-search: When Chemistry Becomes a Matrix Problem
Local LLM Inference
molecular-similarity-search: When Chemistry Becomes a Matrix Problem
A small Flask app that turns SMILES strings into fingerprints, fingerprints into HDF5, and similarity search into one fast NumPy operation.
8 min read
Plant-Disease-Detection: When a CNN Repo Becomes a Portable Plant Lab
Local LLM Inference
Plant-Disease-Detection: When a CNN Repo Becomes a Portable Plant Lab
A small Python project hides a bigger idea: sometimes the most useful open-source ML repo is the one that ships the data, the model, and the whole experiment in one place.
8 min read
Brain_Tumor: A Tiny Medical AI That Tries to Explain Its Own Diagnosis
Local LLM Inference
Brain_Tumor: A Tiny Medical AI That Tries to Explain Its Own Diagnosis
A three-stage pipeline combines classification, segmentation, and Grad-CAM so the model can say what it sees, where it sees it, and why it thinks the scan matters.
10 min read
Distracted-Driver: The Open-Source Safety System That Turns a Webcam Into an Alarm Stack
Local LLM Inference
Distracted-Driver: The Open-Source Safety System That Turns a Webcam Into an Alarm Stack
A ResNet50 classifier is only the beginning. This repo shows the messy, revealing last mile of driver monitoring: live video, label smoothing, audio warnings, email alerts, and location lookup.
8 min read
ml-inference-gateway: How Java Virtual Threads Turn ML Traffic Into Efficient Batches
Local LLM Inference
ml-inference-gateway: How Java Virtual Threads Turn ML Traffic Into Efficient Batches
A production-minded inference gateway that uses imperative code, adaptive batching, Redis rate limits, and gRPC resilience to squeeze more throughput out of ML systems without drowning in async complexity.
7 min read
Stock_Price_Prediction_Project: When a Forecast Gets Smoothed Before You See It
Local LLM Inference
Stock_Price_Prediction_Project: When a Forecast Gets Smoothed Before You See It
A small FastAPI and LSTM stock app that makes one pragmatic choice over and over: it blends raw model output with the previous close so the chart looks usable, not just literal.
7 min read
EV-Charging-Station-Predictor Turns City Maps Into Placement Math
Local LLM Inference
EV-Charging-Station-Predictor Turns City Maps Into Placement Math
A geospatial ML pipeline that reads OpenStreetMap like a satellite, learns from negative samples, and scores where EV chargers should go.
8 min read
chhayaproject4: How a Heartbeat Becomes a Feature Table, Then a Prediction
Local LLM Inference
chhayaproject4: How a Heartbeat Becomes a Feature Table, Then a Prediction
A compact ECG notebook that turns noisy physiological signals into interpretable inputs for XGBoost, showing why medical AI often works better as engineering than as end-to-end magic.
5 min read
Finsight: Turning Financial Statements Into a Conversation
Local LLM Inference
Finsight: Turning Financial Statements Into a Conversation
A focused open-source app that uses long-context Gemini to read dense PDFs, extract structure, and surface the kind of narrative insights finance teams actually want.
8 min read
Sentiment-Analyzer: The Cleanest Part of This Repo Is Not the Model
Local LLM Inference
Sentiment-Analyzer: The Cleanest Part of This Repo Is Not the Model
A Streamlit sentiment app that shows how to turn notebook-era NLP into a shareable tool, with mirrored preprocessing, cached model loading, and a pragmatic workaround for large model files.
7 min read
FlashAttention: The Algorithm That Beat the Memory Wall
Local LLM Inference
FlashAttention: The Algorithm That Beat the Memory Wall
How a tiled, IO-aware CUDA kernel turned exact attention into something GPUs can actually afford to run at scale.
14 min read
`potato-disease`: The Tiny CNN That Starts With a Leaf and Ends With the Weather
Local LLM Inference
`potato-disease`: The Tiny CNN That Starts With a Leaf and Ends With the Weather
A notebook-built potato disease detector does more than classify spots. It hints at a next step where humidity, temperature, rainfall, and leaf texture all matter.
7 min read
bulldra/local-llm-pdf-chat: Why This PDF Chat App Refuses to Extract Text
Local LLM Inference
bulldra/local-llm-pdf-chat: Why This PDF Chat App Refuses to Extract Text
A local-first PDF assistant that treats documents as images, streams pages progressively, and lets MCP tools read them through an in-process FastAPI bridge.
8 min read
modelctl: The Rust CLI That Treats Local LLMs Like System Services
Local LLM Inference
modelctl: The Rust CLI That Treats Local LLMs Like System Services
A thin, transparent manager for detached model servers, runtime adapters, and Apple Silicon telemetry.
8 min read
GPT-implementation: The Repo That Makes Tokenization the Main Character
Local LLM Inference
GPT-implementation: The Repo That Makes Tokenization the Main Character
A clean GPT-1 build in Python, but the real lesson is the tokenizer engine underneath it: heaps, linked lists, tries, and the kind of optimization most from-scratch projects skip.
9 min read
AISTATS_VESDE: The Diffusion Repo That Already Knows the Answer
Local LLM Inference
AISTATS_VESDE: The Diffusion Repo That Already Knows the Answer
By swapping a learned score network for a closed-form Gaussian mixture, this tiny research codebase turns sampler design into a test of discretization error, correction steps, and variance schedule choice.
8 min read
cog-official-openai-clip: The 12-Second Way to Ship CLIP
Local LLM Inference
cog-official-openai-clip: The 12-Second Way to Ship CLIP
A production-minded wrapper around OpenAI’s multimodal model, where the real problem is not inference. It is getting a 3.4GB model to wake up fast, stay cached, and return useful embeddings through a tiny Cog API.
12 min read
MFLUX: The MLX Rewrite That Makes FLUX Feel Native on Mac
Local LLM Inference
MFLUX: The MLX Rewrite That Makes FLUX Feel Native on Mac
A minimalist, Apple-Silicon-first image generation stack that trades framework bloat for readable code, low-RAM execution, and surprisingly deep support for modern diffusion workflows.
10 min read
The Invisible LLM: How tomsalphaclawbot/gemma4-local Turns Apple Silicon into an AI Daemon
Local LLM Inference
The Invisible LLM: How tomsalphaclawbot/gemma4-local Turns Apple Silicon into an AI Daemon
By stripping away the chat UI and relying on shell scripts and macOS system services, this inference wrapper transforms massive Gemma 4 models into persistent, memory-safe background utilities.
6 min read
offline-llm-device-analysis: The Blueprint for the Offline AI Appliance
Local LLM Inference
offline-llm-device-analysis: The Blueprint for the Offline AI Appliance
How a zero-dependency benchmarking suite uses capital efficiency to prove that the future of local LLMs belongs on cheap edge hardware, not in the cloud.
6 min read
The Paranoid Laboratory: Inside turboquant-t4-colab-lab
Local LLM Inference
The Paranoid Laboratory: Inside turboquant-t4-colab-lab
How a defensive, self-verifying notebook squeezes 128k context windows out of aging free-tier GPUs and survives the chaos of bleeding-edge LLM forks.
7 min read
The Anatomy of a Pixel: Deconstructing chenglou/diffusion
Local LLM Inference
The Anatomy of a Pixel: Deconstructing chenglou/diffusion
How a frontend pioneer stripped Denoising Diffusion Probabilistic Models down to a single PyTorch file.
6 min read
Beyond the Notebook: Engineering On-Device Intelligence with hgayan7/Tutorials
Local LLM Inference
Beyond the Notebook: Engineering On-Device Intelligence with hgayan7/Tutorials
A masterclass in bridging the gap between raw ML models and the disciplined architecture of production-ready Android apps.
The Spreadsheet-Powered Face: Dissecting Face-Recognizer
Local LLM Inference
The Spreadsheet-Powered Face: Dissecting Face-Recognizer
How an unusual weight-loading strategy turns a complex Inception network into a transparent, educational anatomy lesson.