Local LLM Inference

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

130 explainers
NOOP: The WHOOP Clone That Treats Your Strap Like a Local Database
Local LLM Inference
NOOP: The WHOOP Clone That Treats Your Strap Like a Local Database
A reverse-engineered, local-first companion that pulls raw data over Bluetooth, scores recovery on-device, and only trims the strap when the bytes are safely stored.
8 min read
`jamesob/local-llm`: The Home Lab That Treats PCIe Like a Data Center
Local LLM Inference
`jamesob/local-llm`: The Home Lab That Treats PCIe Like a Data Center
A deep dive into how one repo turns local LLMs into a hardware-first discipline, where interconnects, VRAM, and routing matter more than app-layer convenience.
10 min read
gemma-tuner-multimodal: The MacBook Fine-Tuner That Refuses to Train Blind
Local LLM Inference
gemma-tuner-multimodal: The MacBook Fine-Tuner That Refuses to Train Blind
A guided Apple Silicon stack for multimodal Gemma tuning, with hardware preflight checks, runtime model patches, and cloud-streamed data pipelines that keep local training honest.
10 min read
pgmicro: The Database That Speaks PostgreSQL and Sleeps Like SQLite
Local LLM Inference
pgmicro: The Database That Speaks PostgreSQL and Sleeps Like SQLite
An embeddable Rust engine that parses real Postgres syntax, compiles straight to SQLite-style bytecode, and makes one file feel like two databases.
8 min read
MLX Studio: The Local AI App That Tries to Replace Your Cloud Model Stack
Local LLM Inference
MLX Studio: The Local AI App That Tries to Replace Your Cloud Model Stack
A native macOS wrapper around vMLX, MLX Studio turns Apple Silicon into a polished local AI workstation with chat, image generation, tool calls, and API compatibility that can stand in for cloud endpoints.
8 min read
TriAttention: The KV Cache Compressor That Reads Long Reasoning in the Frequency Domain
Local LLM Inference
TriAttention: The KV Cache Compressor That Reads Long Reasoning in the Frequency Domain
By inverting RoPE, calibrating Q/K statistics, and monkeypatching standard LLMs at runtime, TriAttention makes long-context reasoning fit on far smaller GPUs without rebuilding the model stack.
11 min read
dflash-mlx: Speculative Decoding Gets a Tape Recorder
Local LLM Inference
dflash-mlx: Speculative Decoding Gets a Tape Recorder
A Mac-native DFlash engine that drafts tokens in blocks, verifies them losslessly, and rewinds hybrid model state without rebuilding everything from scratch.
9 min read
TurboVLA: The Robot Policy That Ditches the LLM Bottleneck
Local LLM Inference
TurboVLA: The Robot Policy That Ditches the LLM Bottleneck
A compact vision-language-action model that uses bidirectional fusion and chunked continuous control to hit real-time performance on consumer hardware.
8 min read
The CPU Strikes Back: Unpacking huggingface/optimum-intel
Local LLM Inference
The CPU Strikes Back: Unpacking huggingface/optimum-intel
How a single boolean flag hides a massive C++ compiler, turning standard processors into viable LLM inference engines.
8 min read
Bypassing the ROCm Trap: Inside ZINC
Local LLM Inference
Bypassing the ROCm Trap: Inside ZINC
How a Zig-based inference engine uses Vulkan to turn consumer AMD graphics cards into production-grade AI servers.
8 min read
rvLLM: The Inference Engine That Lets TPUs Compete by Writing Less Kernel Code
Local LLM Inference
rvLLM: The Inference Engine That Lets TPUs Compete by Writing Less Kernel Code
A deep dive into the project that pairs Rust orchestration, handcrafted CUDA, and a flat JAX scan to turn Gemma 4 inference into a compiler problem instead of a kernel-burden problem.
10 min read
Filtlong: The Long-Read Filter That Lets Short Reads Decide What Is Real
Local LLM Inference
Filtlong: The Long-Read Filter That Lets Short Reads Decide What Is Real
A small C++ tool with a big idea: score noisy Nanopore and PacBio reads against length, quality, and optional reference evidence, then keep the parts most likely to help assembly.
8 min read
Inside `google-research/flood-forecasting`: How Google Built a Flood Model for Broken Data
Local LLM Inference
Inside `google-research/flood-forecasting`: How Google Built a Flood Model for Broken Data
A deep dive into the code behind FloodHub, where basin embeddings, masked feature aggregation, and probabilistic outputs keep river forecasts useful even when the inputs are incomplete.
11 min read
DiffusionBlocks: When Transformer Depth Becomes a Noise Schedule
Local LLM Inference
DiffusionBlocks: When Transformer Depth Becomes a Noise Schedule
This research repo treats training as denoising, splits ViT into independently trainable blocks, and uses diffusion math to rethink the memory wall.
8 min read
ArtSpew: The Prompt Is the Experiment
Local LLM Inference
ArtSpew: The Prompt Is the Experiment
Inside a Stable Diffusion engine that injects random tokens, chases visual accidents, and uses extreme throughput to make discovery feel immediate.
8 min read
courseware-embedded-machine-learning: The Filename Is the Database: How Edge Impulse Teaches TinyML
Local LLM Inference
courseware-embedded-machine-learning: The Filename Is the Database: How Edge Impulse Teaches TinyML
A courseware repo mostly made of PowerPoints and notebooks. One Python script turns their filenames into a navigable course index.
8 min read
SakanaAI/sparser-faster-llms: How TwELL Makes Sparse Transformers Run Like They Were Built for Hopper
Local LLM Inference
SakanaAI/sparser-faster-llms: How TwELL Makes Sparse Transformers Run Like They Were Built for Hopper
A deep dive into the repo that couples activation sparsity with H100-tuned CUDA kernels, so the model’s zeros become real speed, lower memory use, and lower energy.
8 min read
nvalchemi-toolkit: The Chemistry Stack Built Like a GPU Queue
Local LLM Inference
nvalchemi-toolkit: The Chemistry Stack Built Like a GPU Queue
NVIDIA’s ALCHEMI toolkit treats atomistic simulation as a live pipeline, with inflight batching, composable stages, and model wrappers that keep GPU work flowing.
8 min read
DroPE: The LLM Context Trick That Works Better After You Drop the Map
Local LLM Inference
DroPE: The LLM Context Trick That Works Better After You Drop the Map
Sakana AI’s repo extends pretrained models by removing positional embeddings, then recalibrating just enough to unlock longer context windows without brute-force long-context fine-tuning.
12 min read
ComfyUI-MemoryVisualization: Turning VRAM Into a Live Map of Model Residency
Local LLM Inference
ComfyUI-MemoryVisualization: Turning VRAM Into a Live Map of Model Residency
A real-time ComfyUI diagnostic tool that shows not just how much memory is used, but which model pages are actually sitting in GPU memory, how they move, and why OOM bugs become visible.
8 min read
RePo teaches LLMs to rearrange their own context
Local LLM Inference
RePo teaches LLMs to rearrange their own context
Sakana AI’s open-source stack turns token order into a learnable layer. The payoff is strongest when the input is messy, the signal is uneven, and rigid sequence order gets in the way.
10 min read
rvllm-serverless: The thin wrapper that makes a Rust LLM engine feel instant
Local LLM Inference
rvllm-serverless: The thin wrapper that makes a Rust LLM engine feel instant
A Python shell, a baked-in model layer, and a health-gated startup loop turn rvLLM into a serverless endpoint without dragging in a heavy serving stack.
9 min read
TNCO: The Tensor Optimizer That Makes Impossible Problems Fit
Local LLM Inference
TNCO: The Tensor Optimizer That Makes Impossible Problems Fit
A hybrid Python and C++ engine that searches contraction trees, uses simulated annealing, and slices giant tensor networks into exact pieces when memory is the wall.
11 min read
Swirl-Jatmos: The Atmospheric Simulator That Lets JAX Do the MPI
Local LLM Inference
Swirl-Jatmos: The Atmospheric Simulator That Lets JAX Do the MPI
A TPU-first Python framework for 3D weather physics, where sharding, pressure solves, and checkpoints are handled as compiler-aware infrastructure, not hand-built cluster code.
10 min read
Evading the PyTorch Dependency Tax: Inside chroma-core/onnx-embedding
Local LLM Inference
Evading the PyTorch Dependency Tax: Inside chroma-core/onnx-embedding
How the ChromaDB team stripped a massive Transformer down to its bare mathematical essentials to build a frictionless, zero-config vector database.
6 min read
Aozora_SDXL_Training: Aozora: The 12GB VRAM Miracle for SDXL
Local LLM Inference
Aozora_SDXL_Training: Aozora: The 12GB VRAM Miracle for SDXL
How custom optimizers and "sliding window" memory management brought professional-grade diffusion fine-tuning to the consumer desktop.
9 min read
sdzoom: The Stable Diffusion Testbed That Treats Your Desktop Like a Bottleneck
Local LLM Inference
sdzoom: The Stable Diffusion Testbed That Treats Your Desktop Like a Bottleneck
A lean Latent Consistency Model playground that swaps waiting for live prompt blending, tiny autoencoding, and ruthless performance hacks.
8 min read
TensorRT-RTX-EP-ABI: NVIDIA TensorRT RTX Execution Provider: The Plugin That Turns ONNX Runtime Into a Hardware Socket
Local LLM Inference
TensorRT-RTX-EP-ABI: NVIDIA TensorRT RTX Execution Provider: The Plugin That Turns ONNX Runtime Into a Hardware Socket
A deep look at how NVIDIA split high-performance RTX inference out of the monolith, using ORT’s EP ABI, adaptive JIT compilation, and GPU memory tricks to make desktop deployment feel surprisingly modular.
9 min read
saw-int4: The Hadamard Trick That Makes 4-Bit KV Caches Work in Real Serving Systems
Local LLM Inference
saw-int4: The Hadamard Trick That Makes 4-Bit KV Caches Work in Real Serving Systems
A system-aware quantization stack that rotates away KV outliers, keeps accuracy close to BF16, and treats inference speed as a kernel problem, not a paper abstraction.
10 min read
`chromadb-default-embed`: The Fork That Makes Embeddings Feel Native in JavaScript
Local LLM Inference
`chromadb-default-embed`: The Fork That Makes Embeddings Feel Native in JavaScript
A zero-config, isomorphic embedding engine that hides model loading, tokenization, and backend fallbacks behind one Chroma-friendly default.
8 min read
KVTC: The Open-Source KV Cache Codec That Treats LLM Memory Like Media
Local LLM Inference
KVTC: The Open-Source KV Cache Codec That Treats LLM Memory Like Media
A RoPE-aware compression pipeline uses PCA, adaptive bit allocation, and entropy coding to shrink transformer memory without treating every token like it deserves full precision.
10 min read
quickstartclaw: The One-Script Bridge Between WSL2, AMD GPUs, and a Local OpenClaw Agent
Local LLM Inference
quickstartclaw: The One-Script Bridge Between WSL2, AMD GPUs, and a Local OpenClaw Agent
A Bash orchestrator that finds the Windows host, enables the right Linux plumbing, and turns a painful multi-step agent setup into a local workflow that feels nearly plug-and-play.
10 min read
replicate/qwen-image-lora-trainer: The End of the Trigger Token
Local LLM Inference
replicate/qwen-image-lora-trainer: The End of the Trigger Token
A deep dive into the trainer that turns Qwen-Image personalization into plain-English prompt engineering, and what that reveals about modern LoRA workflows.
12 min read
Micro-Expert-Router-SSD-Streamed-MoE-MER: MER: The MoE Engine That Treats NVMe SSDs Like VRAM
Local LLM Inference
Micro-Expert-Router-SSD-Streamed-MoE-MER: MER: The MoE Engine That Treats NVMe SSDs Like VRAM
A Rust inference engine that streams experts on demand, bypasses the OS page cache, and turns routing locality into a first-class performance strategy.
10 min read
Skulk: The Local AI Cluster That Plans for Failure
Local LLM Inference
Skulk: The Local AI Cluster That Plans for Failure
A hard-forked Mac inference stack that pools memory, survives master loss, and keeps token flow coherent across a messy local network.
8 min read
lemonclaw_bash: The One-Command Stack That Turns a Linux Box Into a Local AI Agent
Local LLM Inference
lemonclaw_bash: The One-Command Stack That Turns a Linux Box Into a Local AI Agent
A tiny Bash installer quietly does the hard work of wiring up inference, browser control, context management, and model lifecycle cleanup so OpenClaw can behave like a real local operator.
8 min read
UnifiedTask: The Sigmoid Gate That Lets One Model Borrow Another’s Skill
Local LLM Inference
UnifiedTask: The Sigmoid Gate That Lets One Model Borrow Another’s Skill
A tiny Python package turns capability transfer into selective weight surgery, so a model can import a new behavior without flattening what it already knows.
11 min read
local-image-search: The High-Performance Private Eye for AI Agents
Local LLM Inference
local-image-search: The High-Performance Private Eye for AI Agents
How an MLX-powered MCP server turns Apple Silicon into a local vector warehouse, giving Claude secure access to your photo library without a single pixel leaving your machine.
7 min read
The SQLite Moment for Vector Search: Inside chroma-android
Local LLM Inference
The SQLite Moment for Vector Search: Inside chroma-android
How a raw JNI bridge and a Rust core are bringing privacy-preserving AI memory directly to the mobile edge.
6 min read
`generalized-pde-emulator`: The Neural Operator That Reads the Equation
Local LLM Inference
`generalized-pde-emulator`: The Neural Operator That Reads the Equation
Google Research turns PDE coefficients into a control signal, then uses FiLM, spectral layers, and physics-informed losses to push one model across held-out parameters and even new equation families.
11 min read
oMLX: The SSD-Backed Memory Tier for Apple Silicon
Local LLM Inference
oMLX: The SSD-Backed Memory Tier for Apple Silicon
How a native macOS inference server uses tiered KV caching and continuous batching to eliminate the "Cold Start" problem for local agents.
8 min read
inference-mirror: The GPU Document Factory Behind marker
Local LLM Inference
inference-mirror: The GPU Document Factory Behind marker
Datalab's wrapper turns PDF-to-Markdown into a parallel pipeline, splitting big documents across workers, sharing GPU capacity efficiently, and reassembling structured output at the end.
7 min read
masked-text-diffusion: Escaping the DOM: Inside chenglou/pretext and the Userland Text Rebellion
Local LLM Inference
masked-text-diffusion: Escaping the DOM: Inside chenglou/pretext and the Userland Text Rebellion
How a two-phase architecture severed text measurement from the browser's synchronous layout cycle, unlocking high-performance typography for custom renderers.
8 min read
The Zero-Trust Bridge for Giant Models: Inside hf-mount-encrypted
Local LLM Inference
The Zero-Trust Bridge for Giant Models: Inside hf-mount-encrypted
How a high-performance Zig engine and the AEGIS cipher are turning Hugging Face repositories into secure, lazy-loaded local drives.
7 min read
ike: Sakana AI’s Modular Shell Around DeepSpeed
Local LLM Inference
ike: Sakana AI’s Modular Shell Around DeepSpeed
A closer look at the framework that turns distributed LLM training into a plug-in architecture for data, loss functions, configs, and checkpoints.
8 min read
The Architecture of Empty Space: Inside instructkr/jax-study
Local LLM Inference
The Architecture of Empty Space: Inside instructkr/jax-study
How a masterfully crafted .gitignore file reveals the exact tooling, philosophy, and future of a modern machine learning collaborative environment.
5 min read
garlic-llm-ps4: Garlic LLM Wrote the Driver the PS4 Never Shipped
Local LLM Inference
garlic-llm-ps4: Garlic LLM Wrote the Driver the PS4 Never Shipped
A homebrew app runs a nine-billion-parameter model on a 2013 console by skipping the system software entirely, hand-building the GPU command packets a driver would normally generate.
10 min read
ai-smart-energy-audit-system: AI-Based Smart Energy Audit System: Why This Repo Watches the Delta, Not the Bill
Local LLM Inference
ai-smart-energy-audit-system: AI-Based Smart Energy Audit System: Why This Repo Watches the Delta, Not the Bill
An ESP32, Flask, Firebase, and Scikit-learn pipeline that turns raw current spikes into forecasting, anomaly detection, and practical energy audit intelligence.
8 min read