WHAT NEW IN X10.30 FRI

AI collections from X · 22 collections · 61,740 posts

deepseek-v4.1IMAGE

Resin inference runtime: within 5–10% of DeepInfer on DeepSeek V4.1 Flash

The author releases Resin, a runtime for building inference engines, reporting DeepSeek-V4.1-Flash runs within 5–10% of DeepInfer and that Codex overnight built a GLM-5.3-Flash engine on it.

Eric Zhang
@ekzhang1Archived 3 days agoOriginally posted 2026.10.26
Resin inference runtime: within 5–10% of DeepInfer on DeepSeek V4.1 Flash (image 1 of 2)
Resin inference runtime: within 5–10% of DeepInfer on DeepSeek V4.1 Flash (image 2 of 2)
Eric Zhang @ekzhang1Originally posted 2026.10.26
Open original on X

Alright I finally have more to share on my personal project! Resin is a runtime for building fast LLM inference engines. The idea is to make all the generic parts of inference reusable, and leave only the model-specific forward pass + kernels to be written for each architecture / hardware target. To build an engine: 1. Import Resin's core. 2. Have an agent write a forward pass for the model you’re interested in, for your specific hardware (GPU or TPU or AMD), any kernels you want. Then, boom, you have a standalone inference engine. — I've been hacking over the past month (early post: https://x.com/ekzhang1/status/2089507697930678419), and recently this week I got a lot of features + parallelisms working, inspired by DeepInfer. For DeepSeek-V4.1-Flash, it's nearly as fast as DeepInfer (within 5-10%), while being self-contained and supporting other models, plus metrics + HTTP server + prefix cache. Yesterday I wrote a skill for authoring models and put Codex to work on it overnight. The agent built a GLM-5.3-Flash engine with MTP, reaching up to 60,000 input tok/s and 16,000 output tok/s on B200 (EP4). So far inference "vibe coding" has not been very reliable or successful. I think it's because people start from scratch each time and reinvent lots of tricky things on the scheduler and server layers. But with a shared core, we can automate lots of inference work. The tricky bit is writing a fast forward pass. But Resin turns that into a standalone engine by just importing a library, and it becomes a verifiable goal for the AI. Code: https://github.com/ekzhang/resin

This post quotes another post: x.com/ekzhang1/status/2089507697930678419

x.com/ekzhang1/status/2114516258188153215Archived 2026.10.26 12:02