觉
AI觉醒星球
Awakening is here
AI技能杠杆 · 阅读档案
2026-11-25 1 浏览 免费阅读

在单张 RTX PRO 6000 上对 Inkling 2 Mini 推理进行爬山式优化

Hugging Face 博客展示了一条可复现的本地推理调优路径:用编码 agent 加推理优化技能,在单张 RTX PRO 6000 96GB 上对 Inkling 2 Mini 做 46 次有效基准实验,把单用户解码从 136 提升到 190.6 tok/s(+40%),8 用户聚合吞吐从约 570 提升到 716 tok/s(+26%),采用 vLLM nightly 与 DSpark 投机解码,并验证贪心输出逐字节一致、长上下文检索在 250K tokens 内 3/3 通过。

AI技能杠杆 约 4 分钟读完 免费阅读 原文 2026-11-25 08:00:00

原贴

查看原文
作者:Hugging Face Blog 来源站点:huggingface.co 原贴时间:

原文

Inkling 2 Mini came out last week and sets a new state of the art for local AI and smaller open-source models. With ~26B total parameters (3B active per token), multimodal inputs, and a 1M-token context window, it leads its weight class on the Artificial Analysis Intelligence Index v5 and across 32 of 48 benchmarks against models like Gemma 4 31B and Qwen3.8-27B, making it a strong open option for coding, tool use, and reasoning on modest hardware. We wrote an extensive blog post on how you can use it within the Hugging Face ecosystem here . One of the interesting aspects of Inkling 2 Mini that might explain its great performance is its unusual architecture. Inkling 2 Mini is a looped Mixture-of-Experts (MoE) model with 24 physical layers where the middle 12 layers run three times, so every token passes through 48 layers. The checkpoint ships in mixed NVFP4 and MXFP8 and bundles a DSpark drafter for speculative decoding. Both vLLM and SGLang, the go-to frameworks for LLM inference, support it on nightly builds, though the published serving recipes target NVIDIA B200 and GB300 GPUs ( sm100 ), leaving out sm120 cards like the NVIDIA RTX PRO 6000 where kernel compatibility can differ. We wanted to see how fast we could serve it on a single NVIDIA RTX PRO 6000 96 GB, the GPU behind an nvidia-rtx-pro-6000 Inference Endpoint . Rather than tuning flags by hand, we gave a coding agent the inference-optimisation skill, the hf CLI, and access to Hugging Face Jobs , and let it run experiments for an afternoon. Across 46 valid benchmark runs, single-user decode went from 136 to 190.6 tok/s (+40%) (ahead of the 167.7 tok/s community SGLang + DSpark benchmark on LocalMaxxing for the same GPU) and 8-user aggregate throughput went from ~570 to 716 tok/s (+26%) using vLLM nightly with DSpark speculative decoding. Greedy outputs are byte-identical with and without speculation, long-context needle retrieval passes 3/3 up to 250K tokens, and the winning config is now running as an Inference Endpoint from a pinned image digest. All logs, scripts, and raw measurements are in NielsRogge/inkling-2-mini-hillclimb . The inference-optimisation skill gives an agent a fixed experimental protocol and a small, engine-agnostic benchmark script ( bench.py ): Measure the hardware and estimate theoretical ceilings before tuning. Change one variable at a time and bracket every candidate between two control runs ( control → candidate → control ). Keep a change only if it beats both controls without regressing other metrics. Log every run in PLAN.md , including regressions and dead ends. Pass long-context, concurrency, and greedy-equivalence checks before declaring a winner. bench.py measures single-user decode, aggregate decode at concurrency N, cold prefill at several lengths, and TTFT, using token counts directly from the server's usage response. All runs used a fixed panel of six prompts (code, an explanation, a story, a comparison table, a bash script, and a history summary) at temperature 1.0 (the model's default), thinking on, 512 output tokens, and 12 repetitions whenever speculative decoding was enabled. The skill was written for a local GPU, so we adapted it to Hugging Face infrastructure: HF Jobs for compute. The rtx-pro-6000 Job flavor uses the same GPU as the nvidia-rtx-pro-6000 Inference Endpoint ($2.75/h for both), so Job numbers transfer directly. A ~150-line driver ( jobs/driver.py ) takes a list of server configs, starts each one, runs an unmeasured warmup, calls bench.py unmodified, shuts the server down, and prints one ledger line per run. Because Jobs run on separate machines, the agent swept SGLang ( lmsysorg/sglang:inkling-2-mini ) and vLLM nightly ( vllm/vllm-openai:nightly ) in parallel.

中文翻译

Inkling 2 Mini 上周发布,为本地 AI 和更小的开源模型设定了新的最先进水平。

在 46 次有效基准运行中,使用带 DSpark 投机解码的 vLLM nightly,单用户解码从 136 提升到 190.6 tok/s(+40%)(领先于同一 GPU 上 LocalMaxxing 社区 SGLang + DSpark 基准的 167.7 tok/s),8 用户聚合吞吐从约 570 提升到 716 tok/s(+26%)。

核心信息

Hugging Face 博客展示了一条可复现的本地推理调优路径:用编码 agent 加推理优化技能,在单张 RTX PRO 6000 96GB 上对 Inkling 2 Mini 做 46 次有效基准实验,把单用户解码从 136 提升到 190.6 tok/s(+40%),8 用户聚合吞吐从约 570 提升到 716 tok/s(+26%),采用 vLLM nightly 与 DSpark 投机解码,并验证贪心输出逐字节一致、长上下文检索在 250K tokens 内 3/3 通过。

  • Hugging Face 博客展示了一条可复现的本地推理调优路径:用编码 agent 加推理优化技能,在单张 RTX PRO 6000 96GB 上对 Inkling 2 Mini 做 46 次有效基准实验,把单用户解码从 136 提升到 190.6 tok/s(+40%),8 用户聚合吞吐从约 570 提升到 716 tok/s(+26%),采用 vLLM nightly 与 DSpark 投机解码,并验证贪心输出逐字节一致、长上下文检索在 250K tokens 内 3/3 通过。
  • 原贴提到:Inkling 2 Mini came out last week and sets a new state of the art for lo
  • 来源:huggingface.co

详细解读

这是什么信号:开源小模型的能力边界在继续上移,同时本地部署的性能瓶颈可以通过工程化实验被系统性挖掘。Inkling 2 Mini 采用不寻常的循环式 MoE 架构:24 个物理层,中间 12 层重复运行三次,每个 token 实际经过 48 层;checkpoint 以 NVFP4 与 MXFP8 混合精度发布,并附带 DSpark drafter 用于投机解码。官方 serving recipe 面向 NVIDIA B200/GB300(sm100),没有覆盖 sm120 的 RTX PRO 6000,团队于是用编码 agent 在这张 96GB 卡上做爬山式调优。

为什么重要:这不是单点跑分,而是展示了“agent + 固定实验协议 + 小型基准脚本”的调优范式:先测硬件理论上限,每次只改一个变量,用 control→candidate→control 夹逼,只有同时赢过两个控制组且不拖累其他指标才保留,所有运行(包括回退和死路)都记入 PLAN.md。最终 46 次有效运行把单用户解码从 136 提到 190.6 tok/s,8 用户聚合吞吐从约 570 提到 716 tok/s,并且贪心输出与不启用投机解码逐字节一致,长上下文 needle 检索在 250K tokens 内 3/3 通过——性能提升没有以正确性为代价。

对谁有价值:对做私有化或本地推理的团队,尤其是手里有 RTX PRO 6000 这类 sm120 卡、却拿不到官方 recipe 的工程师;对使用 Hugging Face Inference Endpoints 或 HF Jobs 的团队;对需要在小模型上跑 coding、工具调用和长上下文推理的产品团队。原文还给出 rtx-pro-6000 Job 与 nvidia-rtx-pro-6000 Endpoint 同为 $2.75/h,Job 上测得的数字可直接迁移到 Endpoint。

可以怎么行动:把调优拆成可复现实验:固定一组覆盖代码、解释、故事、对比表、bash 脚本和历史总结的提示面板,固定 temperature、thinking、输出长度和重复次数;用 bench.py 这类引擎无关脚本测单用户解码、并发 N 的聚合解码、不同长度冷预填充和 TTFT;在 HF Jobs 上并行扫 SGLang 与 vLLM nightly;每次只改一个变量并保留双控制组;胜出配置用固定镜像 digest 部署为 Endpoint,避免 nightly 漂移。把回归和死路写进 PLAN.md,形成团队可复用的实验账本。

风险或限制:结果强绑定具体 GPU、镜像版本、checkpoint 和 DSpark drafter;nightly 构建会变,今天的最优 flag 明天可能失效;官方 recipe 未覆盖 sm120,内核兼容性差异意味着不能直接照搬 sm100 参数;46 次有效运行来自单团队单卡实验,社区 167.7 tok/s 的 SGLang + DSpark 数字是不同测试条件下的参考,不应直接等价比较;投机解码的收益在固定提示面板和 512 输出 token 下测得,换负载、并发或输出长度需要重新验证;$2.75/h 是原文给出的价格,实际成本以平台为准。

信息差价值

这条内容的真正价值,不只是“有人发布了一个新功能”,而是它揭示了 huggingface.co 背后的产品方向、工作流变化或竞争信号。对 OPC 来说,这种信息可以转化成持续追踪的栏目选题。

如果把《在单张 RTX PRO 6000 上对 Inkling 2 Mini 推理进行爬山式优化》放到你的内容系统里,它最大的价值在于帮助读者更快看懂“为什么值得关注”,而不是只看到一条碎片化动态。

参考来源

AI SUMMARY

这篇文章回答了什么

在单张 RTX PRO 6000 上对 Inkling 2 Mini 推理进行爬山式优化主要讲什么?

Hugging Face 博客展示了一条可复现的本地推理调优路径:用编码 agent 加推理优化技能,在单张 RTX PRO 6000 96GB 上对 Inkling 2 Mini 做 46 次有效基准实验,把单用户解码从 136 提升到 190.6 tok/s(+40%),8 用户聚合吞吐从约 570 提升到 716 tok/s(+26%),采用 vLL…

这篇文章最值得关注的要点是什么?

Hugging Face 博客展示了一条可复现的本地推理调优路径:用编码 agent 加推理优化技能,在单张 RTX PRO 6000 96GB 上对 Inkling 2 Mini 做 46 次有效基准实验,把单用户解码从 136 提升到…;原贴提到:Inkling 2 Mini came out last week and sets a new state of the art for lo;来源:huggingface.co

这篇文章和哪些AI专题相关?

它适合放在Agent工作流、AI超级个体、AI工具专题里阅读。 关联原因:这篇内容命中「Agent、工作流」等主题信号。;这篇内容命中「技能」等主题信号。;这篇内容来自该专题长期覆盖的栏目。

阅读这篇文章建议先理解哪些关键词?

建议先理解AI工具、工具、自动化、模型、Cursor这些关键词,再结合正文判断工具、机会或风险是否值得进入自己的工作流。

上一篇 如何为应用现代化选择下一个安全的步骤 下一篇 Select 样式样本
北竹游乐场 免费玩小游戏 免费玩