基础设施 4.0 · 优秀 2026-11-26 · 文章

AMD-specific fork of llama.cpp, and the vibe-coded inference engine wave

2026-11 定制推理引擎爆发:StrataBasalt 等,共性:特定模型/硬件vibe-code 整个引擎追高生成速度但有个转向:优化不停在硬件层,而是改模型行为Strata 优先轮询已加载 expert,即使路由本该选冷 expert,等于改输出作者选更稳的 stew675/llama-cpp-rdna-boosts:pinned commit 小补丁集,持续 rebase,AMD 把生成 3555 tok/sprefill 7001300 tok/s,有预构建 ROCm 镜像读法:查 vibe-coded 引擎有没有动模型语义,补丁 fork 更可审

打开原文回到归档

AMD-specific fork of llama.cpp, and the vibe-coded inference engine wave

  • ID: 1d45997e
  • 原文链接: https://devnull.land/amd-specific-llama-cpp
  • PDF: N/A
  • 作者: devnull.land(站点作者)
  • 日期: 正文自称 As of November 2026;条目 added 2026-11-27
  • 更新: N/A
  • 分类: infra
  • 来源类型: article
  • 标签: llama-cpp, inference, amd, rocm
  • 质量评分: 4/5
  • 抓取时间: 2026-11-27T12:21:42+00:00

中文导读

2026-11 出现一批定制推理引擎(Strata、Basalt、RustingStrata 等),共性三条:只针对特定模型/硬件子集、用前沿模型 vibe-code 整个引擎、一味追高 token 生成速度。作者点名一个危险转向:优化不再停在硬件层,而是改模型行为——Strata 会优先轮询已加载进显存的 expert,即使路由本该选择被推到内存/磁盘的冷 expert,等于改了输出语义。作者自己选了更稳的路线 stew675/llama-cpp-rdna-boosts:对 pinned llama.cpp commit 持续重放的小补丁集,AMD ROCm 环境实测生成 35→55 tok/s、prefill 700→1300 tok/s,并有预构建 podman 镜像(ghcr.io/stew675/llama-cpp-rdna-boosts:server-rocm-10.1)。

为什么值得关注

一句话: Bespoke vibe-coded inference engine wave; AMD llama.cpp patchset lifts 35 to 55 tok/s

审视 vibe-coded 推理引擎浪潮的正确角度:速度数字好看不等于没副作用,先查它有没有改模型语义——expert 路由就是现成反例。小面积、可审、持续 rebase 的补丁 fork 是更健康的参与方式,也更适合当上游基线。

关键信息

  • 时间:As of November 2026;条目 added 2026-11-27
  • 推荐项目:stew675/llama-cpp-rdna-boosts(pinned commit + 持续重放补丁)
  • 实测收益:生成 35→55 tok/s;prefill 700→1300 tok/s(作者机器,YMMV)
  • 部署:预构建镜像 ghcr.io/stew675/llama-cpp-rdna-boosts:server-rocm-10.1,podman 沙箱运行
  • 风险案例:Strata 优先轮询显存内 expert,绕过正常路由,改变模型输出

English Source Notes

As of November 2026, an explosion in bespoke inference engines has taken place, inspired by llama.cpp, SGLang, and vLLM. They share three traits: focus on a specific subset of models and/or hardware, use a frontier model to vibe-code the entire thing, and chase ever-higher token generation speeds. Results are striking (Strata runs a heavily-quantized 180B model on a 16GB VRAM card), but the chase has taken an unfortunate turn: optimizations are less about hardware-specific changes and more about changing how the model thinks so it goes faster. Strata, for example, prefers polling experts loaded in VRAM even when experts pushed to system RAM/disk would normally have been chosen. The author recommends llama-cpp-rdna-boosts instead: a minimal patchset applied against a pinned llama.cpp commit, continually re-applied to newer versions, with AMD-specific improvements. Measured gains: token generation from 35 to 55 tokens/second, prefill from 700 to 1300 tokens per second. Pre-built images: ghcr.io/stew675/llama-cpp-rdna-boosts:server-rocm-10.1.

Entry Summary (from entries.json)

A late-2026 wave of bespoke inference engines (Strata, Basalt, RustingStrata, and others) shares three traits: narrow focus on specific model/hardware subsets, frontier-model vibe-coding of the whole engine, and a relentless chase for higher token-generation speeds. The author flags an unhealthy turn: some optimizations stop being hardware-level and start changing model behavior itself - Strata prefers polling experts loaded in memory even when the router would normally choose experts pushed to system RAM or disk. The recommended path is stew675/llama-cpp-rdna-boosts: a minimal patchset against a pinned llama.cpp commit, continually re-applied to newer versions, with AMD-specific gains of 35 to 55 tok/s generation and 700 to 1300 tok/s prefill, and prebuilt ROCm images. Read: audit whether a vibe-coded engine changes model semantics; patch-style forks stay reviewable.

Obsidian Notes

  • opencli web read 被目标站点拒绝(Navigation rejected),正文改经 curl 直取页面 HTML 提取(2026-11-27 UTC)。中文导读锚定提取正文与条目既有摘要。
  • 本文件由 aaif-intake-pipeline content-fetcher 模式生成;entries.json 未改动,仅回填内容页。