An LLM inside an LLM - Same guy who put a RISK-V CPU inside Qwen has now made Karpathy's stories260k run on an NPU compiled inside Qwen 3.5-4B's weights
Summary
开发者将 Karpathy 的 stories260k 模型编译成一个 NPU,并直接嵌入 Qwen 3.5-4B 的权重中,实现了一个 LLM 在另一个 LLM 内部逐位精确地运行(包含矩阵乘、softmax 和注意力),无需外部工具。
Similar Articles
Someone built a 32-bit RISC-V CPU directly inside Qwen's model weights so it can execute instructions internaly!
有人在Qwen模型权重中直接构建了一台32位RISC-V CPU,使其能够在模型内部执行指令,这可能对工具调用和计算机操作能力产生影响。
I ran Doom inside the Qwen model weights!
作者受到 qwenputer 项目启发,在 Qwen 模型权重内构建的虚拟机上成功运行了基础版 Doom,虽然速度很慢,但实现了「在 LLM 上跑 Doom」的趣味演示,并开源了项目仓库。
Janas: Run LLMs larger than RAM by streaming experts from SSD
Janas 是一个开源工具,通过从 SSD 流式加载专家模型(mixture-of-experts),让内存小于模型体积的笔记本也能运行 LLM。在 32GB 内存的笔记本上,Qwen3-Next-80B(48GB)推理速度达 37 tok/s,显著超越 llama.cpp 的 2.8 tok/s。
@linexjlin: K2.6 built a Zig LLM inference engine from scratch on Mac in 12h, pushing Qwen 3.5 0.8B from 15 tok/s to 193.1 tok/s
Developer wrote a Zig-based LLM inference engine from zero on macOS in 12 hours, boosting Qwen 3.5 0.8B throughput from 15 to 193 tokens per second.
poorman inference engine for 16GB GPU and 35B moe Qwen 3.6for coding
作者将 llama.cpp 的 server 分支为 AgrillaMoE,针对 Qwen3.6-35B-A3B MoE 模型在 16GB 显存 GPU 上优化,配合 2-bit 量化可达 ~57-60 tok/s,并支持 OpenAI/Anthropic API 兼容接口;其 MoE 扩展补丁在运行时增加每 token 激活专家数(20 vs 8),无需重训即可在 GPQA-Diamond 上提升约 2.5 分。