Show HN: Resin, fast native scheduler for LLM inference engines Eric Zhang released Resin, a Rust-based headless scheduler, KV cache and metrics server for LLM inference that lets developers write model-specific forward-pass kernels instead of using a full engine. Using Resin, Zhang built standalone engines for DeepSeek-V4.1-Flash and GLM-5.3-Flash on Blackwell GPUs in 12 hours that came within 5-10% of DeepInfer on prefill and decode and, he says, rival vLLM and SGLang. Resin ships as pip-installable `resin` plus separate `resin-models-cuda` and `resin-models-torch` runner packages, requires Python 3.11+ and Rust, and Zhang explicitly warns it is "not production-quality software," directing production users to SGLang or vLLM. Resin is not an inference engine. It's a library of building blocks for LLM inference. At its core is the headless Engine : a fast Rust scheduler, KV cache, and metrics server. You then write the forward pass as model-specific kernels, optimized for your hardware. token IDs ──► Rust Engine ──► frozen BatchPlan ──► Python Runner ───► token IDs ▲ │ └──────── ownership & commit ────────┘ Resin also has optional HTTP serving and Prometheus metrics. Warning This is not production-quality software. If you're looking for an actual inference engine, please use SGLang or vLLM. Read on if you want to hack on LLM inference systems, new models or hardware. With the right kernels, this makes it possible to autonomously "vibe code" even the most complex models. In 12 hours, we used Resin to build standalone engines for DeepSeek-V4.1-Flash https://github.com/ekzhang/resin/blob/main/models/cuda/resin models cuda/deepseek v41 and GLM-5.3-Flash https://github.com/ekzhang/resin/blob/main/models/cuda/resin models cuda/glm5 3 flash on Blackwell GPUs that rival vLLM and SGLang. | Prefill | Decode | |---|---| Prefill and decode for DeepSeek V4.1 Flash, within 5-10% of DeepInfer. Start with the two-page architecture overview https://github.com/ekzhang/resin/blob/main/docs/architecture.md . Either fork the repository or import resin and resin models cuda as standalone packages. Then use the following skills: - add-resin-model https://github.com/ekzhang/resin/blob/main/skills/add-resin-model/SKILL.md - Create an inference engine for a new model from scratch, using Resin. - optimize-resin-performance https://github.com/ekzhang/resin/blob/main/skills/optimize-resin-performance/SKILL.md - Iterate on your inference engine to improve performance with an "autoresearch" workflow, diagnose bottlenecks and validate improvements, drawing on past learnings. Importing resin does not import PyTorch or initialize CUDA. Install the core library directly from GitHub with Python 3.11+ and Rust installed: pip install "git+https://github.com/ekzhang/resin.git" Pip builds the Rust extension locally. The import remains resin . Use @