model-compilation

Tag

Cards List
#model-compilation

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

Reddit r/LocalLLaMA ↗ · 2026-10-31

开发者将 Karpathy 的 stories260k 模型编译成一个 NPU,并直接嵌入 Qwen 3.5-4B 的权重中,实现了一个 LLM 在另一个 LLM 内部逐位精确地运行(包含矩阵乘、softmax 和注意力),无需外部工具。

0 favorites 0 likes
#model-compilation

Transformers as Generic Deep Neural Networks: Exact Compilation, the Cost of Removing Activation-Activation Products, and Multi-Agent Attention Clustering

arXiv cs.LG ↗ · 2026-10-22 Cached

该论文证明每个 Transformer 块都可精确编译为由固定仿射映射、路由及 sigmoid/逆平方根等基本算子构成的通用深度神经网络,量化分析了去除激活-激活乘积的代价,并提出多智能体注意力聚类方法将打分复杂度从 N² 降至 Nk,实验在 DeiT-Tiny、MambaIRv2-Light 和 Pythia-70M 上验证了编译模型与原模型一致且标准后训练量化可直接适用。

0 favorites 0 likes
#model-compilation

@vikhyatk: Got sick of hand-tuning GPU kernels, so we built a compiler. Photon 2.0 compiles Moondream, Qwen 3.5, and Gemma 4 into …

X AI KOLs Timeline ↗ · 2026-08-03 Cached

Photon 2.0 is a new inference engine and compiler that compiles models like Moondream, Qwen 3.5, and Gemma 4 into megakernels, claiming up to 2.3x throughput over vLLM and SGLang for physical AI workloads.

0 favorites 0 likes
#model-compilation

@dair_ai: NEW paper worth reading. A full agentic workflow can be distilled into model weights and run at roughly 100x lower infe…

X AI KOLs Following ↗ · 2026-05-22 Cached

This paper demonstrates that agentic workflows can be distilled into small fine-tuned models, achieving near-frontier quality while reducing inference cost by two orders of magnitude compared to orchestration approaches.

0 favorites 0 likes
← Back to home

Submit Feedback