← 返回
科技行业动态#开源#推理效率#Hill-climbing Inkling#Mini#RTX PRO

Hill-climbing Inkling 2 Mini inference on one RTX PRO 6000

Hugging Face:Blog(RSS)T1
08:001 天前RSS阅读原文 ↗导出 MD ↓

评分

59

精选理由

保留在全量动态池,可作为背景信息或后续聚合信号。

AI 点评

「来自 Hugging Face:Blog(RSS) 的这条信息指向行业格局和商业判断变化,适合用于判断近期 AI 圈的真实动向。」

速览

Hill-climbing Inkling 2 Mini inference on one RTX PRO 6000

  • We’re on a journey to advance and democratize artificial intelligence through open source and open science.

正文

Back to Articles

Hill-climbing Inkling 2 Mini inference on one RTX PRO 6000

Published November 25, 2026 Update on GitHub Upvote - Niels Rogge's avatar Niels Rogge nielsr Follow

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 setup

The inference-optimisation skill gives an agent a fixed experimental protocol and a small, engine-agnostic benchmark script (bench.py):

  1. Measure the hardware and estimate theoretical ceilings before tuning.
  2. 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.
  3. Log every run in PLAN.md, including regressions and dead ends.
  4. 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.
  • CPU Jobs for reading engine source. When a flag was undocumented, the agent ran a cheap cpu-upgrade Job to grep the installed Python package inside the container. That is how it found SGLang's SGLANG_OPT_* environment variables and vLLM's speculative-config fields.
  • Inference Endpoints for deployment, created via hf endpoints deploy using the exact image digest and flags that passed verification.

The baseline was our existing org endpoint config: SGLang with --attention-backend fa4 and no speculative decoding.

Results

Single-user decode speed of Inkling 2 Mini on one RTX PRO 6000 for four configurations

Single-user decode speed (median of 12 requests). vLLM + DSpark reaches ~95% of the memory-bandwidth ceiling at its measured acceptance rate.

Config (1× RTX PRO 6000) 1-user decode (tok/s) 8-user aggregate (tok/s) Prefill 4K / 32K (tok/s) TTFT
SGLang, no speculation (baseline) 134–139 543–598 18.7–19.1K / 16.9–19.1K 41–114 ms
vLLM, no speculation 157.0 638 20.7K / 20.7K 33 ms
SGLang + DSpark (8 drafts) 166.6 — ¹ 18.0–19.5K / 18.9–19.1K 38–51 ms
vLLM + DSpark (7 drafts) 190.6 716 20.7K / 20.6K 40 ms
Deployed endpoint (over the internet) 194.9 673 11.7K / 19.2K ² 198 ms ²

¹ SGLang's RTX PRO 6000 DSpark recipe caps --max-running-requests at 4. Raising it to 8 reached 660 tok/s, still behind vLLM. ² Includes ~160 ms of client-to-endpoint network round trip.

All of the speedup comes from switching to vLLM nightly (+15% over SGLang without speculation, 136 → 157 tok/s), enabling DSpark with 7 drafts and probabilistic draft sampling (+21% on top, 157 → 190.6 tok/s across four runs: 189.3, 190.4, 191.1, and 190.7), and adding two memory flags so vLLM's DSpark setup actually starts on 96 GB:

vllm serve thinkingmachines/Inkling-2-Mini \
  --tool-call-parser inkling \
  --enable-auto-tool-choice \
  --reasoning-parser inkling \
  --max-model-len 262144 \
  --gpu-memory-utilization 0.85 \
  --speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"probabilistic"}'

Both num_speculative_tokens: 7 and draft_sample_method: "probabilistic" were validated directly: shorter draft counts (such as 5) are rejected at startup because both engines enforce the checkpoint's fixed block size, and switching to greedy draft sampling dropped vLLM decode speed by 11% at temperature 1.0 (see What didn't work).

Why it stops around 190 tok/s

Before tuning, the agent probed the RTX PRO 6000 inside a Job (1,469 GB/s copy bandwidth, 416 TFLOPS BF16, 792 TFLOPS FP8) and read tensor sizes from the safetensors header. Because every token makes 48 layer visits, plain decode re-reads ~2.7 GB of attention and dense weights, ~2 GB of routed experts (8 of 128 per layer), and ~0.9 GB for the LM head. At 1,469 GB/s, that gives a single-user bandwidth ceiling of ~256 tok/s. Without speculation, vLLM at 157 tok/s hits 61% of that ceiling, mostly limited by kernel launch latency across 48 visits.

Speculative decoding changes the memory math on an MoE. Verifying 8 positions together activates the union of their routed experts, reading roughly 40% of each layer's experts instead of 6%. At our measured acceptance of ~2.3 tokens per step at temperature 1.0 (per-position acceptance drops from 0.6 on the first draft to 0.33 and 0.19), the bandwidth ceiling falls to ~201 tok/s. At 190.6 tok/s, vLLM + DSpark is already at ~95% of hardware bandwidth, so further flag tuning has almost nowhere left to go. Moving past 190 tok/s would take a drafter with higher acceptance at temperature 1.0 or a verification path that touches fewer experts per layer.

What didn't work

Most candidate flags were unsupported, noisy, or slower:

vLLM

Lever Result
Shorter draft length (3–6) Rejected at startup; requires num_speculative_tokens = 7 (checkpoint block size − 1).
draft_sample_method: "greedy" −11% at temperature 1.0 (168.6 vs ~190.4 tok/s).
rejection_sample_method: "block" 190.1 vs 190.3–190.5 for controls; no effect.
enable_adaptive_verification Assertion error at startup for the Inkling 2 drafter.
draft_lm_head_quantization: "fp8" Only supported for DeepSeek DSpark drafters.

We also skipped rejection_sample_method: "fly" and "synthetic" on purpose because they alter the output distribution, and we wanted a strictly lossless speedup.

SGLang

Lever Result
Shorter draft length (3–6) Rejected at startup; requires --speculative-num-draft-tokens 8 (gamma + 1 for the bundled drafter).
SGLANG_ENABLE_NV_MEGA_RUNTIME_OPTIMIZATION=1 +4% once, failed to reproduce against fresh controls.
SGLANG_OPT_USE_FUSED_DRAFT_SAMPLE=1 +2%, within run-to-run noise.
SGLANG_OPT_MOE_QUANT_ONCE=1 +1%, within run-to-run noise.
SGLANG_DSPARK_USE_GREEDY_DRAFT=1 −9% at temperature 1.0 (156.8 vs ~172 tok/s).

Benchmarking gotchas

A few measurement issues caught us along the way:

  • Triton JIT during timed prefill. vLLM's first 4K prefill came back at 202 tok/s instead of 20K because Triton was compiling kernels during the timed request. Running an unmeasured warmup across prompt lengths and concurrency fixed 4K prefill, though the first run in each Job still under-reported 32K prefill due to last-chunk shape differences (flagged in the ledger).
  • Orphaned servers holding GPU memory. The initial driver stopped servers via a PID saved from setsid … &, which is not guaranteed to match the process group ID. The previous server stayed alive on port 8000, broke the next launch, and turned into a zombie that still passed kill -0. Managing the process with subprocess.Popen(start_new_session=True) and waiting until both GPU memory and port 8000 are free fixed it.
  • Hidden OOM errors in vLLM logs. vLLM + DSpark twice died with "Engine core initialization failed" at the end of the log while the real causes sat 200 lines up. First, the default 1M-token KV cache needed 52.6 GiB with only 48.1 GiB free alongside the drafter (--max-model-len 262144 fixed this). Next, because vLLM v0.34.0 raised the default --gpu-memory-utilization from 0.92 to 1.0, the KV cache claimed the remaining VRAM and OOMed the drafter's 5 GiB allocation (--gpu-memory-utilization 0.85 fixed this). The driver now prints every error line from the server log instead of just the tail.
  • Engine variance. Across identical runs with speculation, vLLM stayed within 0.4% while SGLang swung by ±4.5%. That was wide enough to make SGLANG_ENABLE_NV_MEGA_RUNTIME_OPTIMIZATION=1 look like a +4% win on its first run before repeat controls ruled it out.

Verification and deployment

Before deploying, we pinned the exact vLLM nightly digest (vllm/vllm-openai@sha256:eaa63fd6…, build 0.34.0rc1.dev1235+gf2f9edcac) and ran the acceptance gates inside a Job:

Gate Result
Needle retrieval at ~50% context (126,537 tokens) 3/3, TTFT 12.5 s
Needle retrieval at ~95% context (249,970 tokens) 3/3, TTFT 28.7 s
Concurrent soak (4 × ~58K-token requests) 4/4 succeeded, 3/3 retrieval each
Greedy equivalence, DSpark vs no speculation (6 prompts, temp 0) 6/6 byte-identical
Single-user decode on pinned image 189.9 / 190.2 tok/s

Once those passed, we deployed the endpoint with a single hf endpoints deploy command, pinning both the image digest and model revision (authenticated access, scale-to-zero after 60 idle minutes):

hf endpoints deploy inkling2mini-tuned-dspark --namespace <your-org> \
  --repo thinkingmachines/Inkling-2-Mini --revision 7a67ae2314b44ef05c87fd1d4d311c58aaeb18f6 \
  --framework custom --custom-image "vllm/vllm-openai@sha256:eaa63fd6ee3aac77f3158e80ed79ec425db3a53f7cd666bf1954e96abfaf19a7" \
  --health-route /health --port 8000 \
  --vendor aws --region us-east-2 --accelerator gpu --instance-type nvidia-rtx-pro-6000 --instance-size x1 \
  --min-replica 0 --max-replica 1 --scale-to-zero-timeout 60 --type authenticated \
  --container-command "vllm serve" \
  --container-args "/repository --served-model-name thinkingmachines/Inkling-2-Mini --host 0.0.0.0 --port 8000 --tool-call-parser inkling --enable-auto-tool-choice --reasoning-parser inkling --max-model-len 262144 --gpu-memory-utilization 0.85 --speculative-config '{\"method\":\"dspark\",\"num_speculative_tokens\":7,\"draft_sample_method\":\"probabilistic\"}'"

Running bench.py against the live endpoint gave 194.9 tok/s single-user, matching the Job runs once network latency is accounted for.

Everything from this run (PLAN.md, THEORY.md, jobs/driver.py, submit.sh, deploy.sh, and the raw ledger-*.jsonl files) is in NielsRogge/inkling-2-mini-hillclimb. To reuse the loop on another model, put your candidate and control server commands into a configs/plan-*.json file and submit it to whichever HF Jobs GPU flavor matches your target endpoint.

More Articles from our Blog

guidevllminference

Run a vLLM Server on HF Jobs in One Command

14 June 26, 2026
transformersmistralvllm

Welcome Le Chonk: Mistral Large 4 on Hugging Face

  • +7
93 October 29, 2026

Community

EditPreview Upload images, audio, and videos by dragging in the text input, pasting, or clicking here. Tap or paste here to upload images Comment

· Sign up or log in to comment

Upvote -

相关条目

91

五维评分

信息增量8 ×0.3

首次提出针对CPU优化的1M上下文模型,填补了边缘设备长文本推理的空白,信息增量显著。

内容质量9 ×0.2

技术细节清晰,提供了基准测试对比和架构解释,图文并茂,质量上乘。

实用价值10 ×0.2

直接降低长上下文应用的硬件成本,开源权重可立即部署,实用价值极高。

时效性10 ×0.15

当日发布的博客,且长上下文推理是当前AI热点,时效性满分。

信源可信度9 ×0.15

Hugging Face官方博客,作者为Liquid AI,属于第一方技术发布,可信度高。

基础分 90.5 × T1 信源权重 ×1 = 91

精选线 60已入选精选

23:01Hugging Face:Blog(RSS)T1RSS

精选LFM2.5-Encoder:面向CPU快速长上下文推理的新模型

这篇博文让我眼前一亮,因为它直接解决了大模型在CPU上跑长上下文的痛点。对于没有高端GPU的团队或个人开发者,LFM2.5-Encoder系列提供了可立即使用的开源方案。尤其推荐给做RAG、文档搜索或代码分析的朋友——现在用普通服务器就能处理百万级token的文档了。

AI模型#CPU推理优化#LFM2.5-Encoder#Liquid AI
91

五维评分

信息增量8 ×0.3

公布了vLLM新后端的具体架构设计与实测数据,对了解推理优化前沿有较高信息增量。

内容质量9 ×0.2

技术细节清晰,有定量性能对比,来源为官方博客,内容质量高。

实用价值10 ×0.2

直接降低LLM部署门槛与成本,对AI工程化落地具有极高实用价值。

时效性10 ×0.15

发布即时,属于最新技术动态,时效性满分。

信源可信度9 ×0.15

来源为Hugging Face官方博客,vLLM为开源权威项目,可信度高。

基础分 90.5 × T1 信源权重 ×1 = 91

精选线 60已入选精选

08:00Hugging Face:Blog(RSS)T1RSS

精选vLLM推出原生速度Transformers建模后端,大幅提升推理性能

这项更新对于AI工程团队非常关键:无需格式转换意味着能更快地迭代模型,而2-5倍的速度提升直接降低GPU成本。如果你正在做LLM在线服务或者批量推理,这几乎是必读的技术更新。

AI模型#Hugging Face#PagedAttention#Transformers
90

五维评分

信息增量9 ×0.3

首次公开前沿实验室代理入侵的完整技术时间线,信息增量极高。

内容质量8 ×0.2

结构严谨、技术细节丰富,但缺乏部分原始日志数据佐证。

实用价值9 ×0.2

提供了缓解建议和自检工具,对AI安全从业者具有直接指导意义。

时效性10 ×0.15

事件发生仅数月后即发布分析,时效性极佳。

信源可信度9 ×0.15

Hugging Face 作为顶级开源AI平台,其技术博客可信度极高。

基础分 89.5 × T1 信源权重 ×1 = 90

精选线 60已入选精选

08:00Hugging Face:Blog(RSS)T1RSS

精选前沿实验室代理入侵事件技术时间线:2026年7月事件剖析

这篇技术时间线值得所有AI安全研究员和代理开发者细读——它不只是描述一次攻击,而是为整个行业敲响了代理系统防御体系薄弱的警钟。对正在部署自主代理的团队来说,这是必读的灾难预防手册。

科技产品#AI代理安全#Hugging Face#入侵时间线
90

五维评分

信息增量9 ×0.3

首次将专用扩散模型4位量化引擎与主流推理库深度整合,信息增量高。

内容质量8 ×0.2

内容清晰说明技术价值与集成效果,但缺少对比其他量化方案的定量细节。

实用价值10 ×0.2

直接降低扩散模型部署门槛,对AI应用开发者有很强的实用指南意义。

时效性9 ×0.15

发布及时,正值扩散模型应用爆发期,4位量化是行业前沿热点。

信源可信度9 ×0.15

信源为Hugging Face官方博客,权威性与可信度高。

基础分 90 × T1 信源权重 ×1 = 90

精选线 60已入选精选

08:00Hugging Face:Blog(RSS)T1RSS

精选Nunchaku 4 位扩散推理集成到 Diffusers

这篇博客对正在寻找将扩散模型部署到边缘设备方案的开发者来说,是一个极其重要的参考。Nunchaku的低内存占用和易用性可能会成为未来几周社区讨论的热点。强烈建议所有使用Stable Diffusion做产品或研究的团队仔细阅读集成指南。

AI模型#4位量化#Diffusers#Hugging Face
90

五维评分

信息增量9 ×0.3

首次系统公开将NeMo Automodel与Diffusers结合的大规模微调方法,并提供完整代码,填补了实用教程空白。

内容质量8 ×0.2

内容结构清晰,代码示例完整,但未深入对比不同分布式策略的性能细节。

实用价值9 ×0.2

直接解决大规模微调中的工程痛点,可显著降低团队尝试门槛,实用性强。

时效性9 ×0.15

发布时间为近期,紧跟生成式AI模型微调热点,时效性高。

信源可信度10 ×0.15

信息来源于NVIDIA官方博客,通过Hugging Face平台发布,信源权威可靠。

基础分 89.5 × T1 信源权重 ×1 = 90

精选线 60已入选精选

23:57Hugging Face:Blog(RSS)T1RSS

精选NVIDIA 携手 Hugging Face:使用 NeMo Automodel 大规模微调视频与图像模型

这篇博文最值得看的是它给出了一个开箱即用的分布式微调方案,把NVIDIA的底层工程能力与Diffusers生态无缝衔接。对正在犹豫如何规模化微调视频扩散模型的团队来说,这几乎是目前最直接的参考——不用自己拼装分布式框架,也不用纠结多卡配置,NeMo Automodel替你搞定了。

AI模型#Diffusers#Hugging Face#NeMo Automodel
90

五维评分

信息增量9 ×0.3

深入剖析了模型路由这一较少被系统讨论的工程痛点,提供了新的技术方案和实验数据。

内容质量8 ×0.2

论证清晰,结构完整,来自 IBM Research 的研究团队,专业性和逻辑性较强。

实用价值9 ×0.2

直接针对多模型部署的实际问题,提出的方案具有可实施性和量化收益,对工程师有直接帮助。

时效性10 ×0.15

文章发布于最新时间,且模型路由正是当前 LLM 落地阶段的核心挑战。

信源可信度9 ×0.15

Hugging Face 官方博客,作者为 IBM Research,信源可信度高。

基础分 89.5 × T1 信源权重 ×1 = 90

精选线 60已入选精选

01:27Hugging Face:Blog(RSS)T1RSS

精选模型路由看似简单,实则不然——IBM Research深度解析

这篇文章值得所有关注大模型落地的工程师一读。它没有停留在理论层面,而是给出了可落地的智能路由框架,尤其适合那些正在做多模型推理加速和成本控制的朋友。

AI模型#AI基础设施#IBM Research#大语言模型
89

五维评分

信息增量9 ×0.3

基于真实用户行为数据的研究成果,提供了关于AI如何改变工作内容的新定量证据。

内容质量8 ×0.2

结构清晰,关键发现明确,但可进一步深入细分行业差异。

实用价值8 ×0.2

为企业管理层、HR和组织设计者提供了直接可参考的数据洞察。

时效性10 ×0.15

研究刚于近日发布,紧贴当前AI应用热潮。

信源可信度10 ×0.15

来源为OpenAI官方研究,数据可靠且权威。

基础分 89 × T1 信源权重 ×1 = 89

精选线 60已入选精选

11:30OpenAI:News(RSS)T1RSS

精选OpenAI研究:AI正在重新定义工作边界

如果你关心AI对实际工作的影响,这篇研究不容错过。它不讨论理论,而是用数据展示ChatGPT用户如何使用AI扩展自己的任务范围,这对HR、管理者以及每个希望提升技能的职场人都有直接启发。

AI行业#ChatGPT#OpenAI#劳动力市场影响
89

五维评分

信息增量8 ×0.3

提供了新模型在权威基准上排名第一的详细信息,包括技术细节和开源资源,信息增量较高。

内容质量9 ×0.2

内容准确、结构清晰,包含基准说明、模型特点、开源信息等,质量优秀。

实用价值9 ×0.2

开源嵌入模型可直接用于RAG和Agent开发,实用价值极高。

时效性10 ×0.15

刚刚发布的新闻,时效性极强。

信源可信度9 ×0.15

NVIDIA官方博客,信源权威可靠。

基础分 88.5 × T1 信源权重 ×1 = 89

精选线 60已入选精选

00:01Hugging Face:Blog(RSS)T1RSS

精选NVIDIA Nemotron-3 Embed在RTEB基准测试中排名第一,推进智能检索

NVIDIA这次在嵌入模型上的突破非常及时。对于从事RAG和AI Agent开发的团队来说,Nemotron-3 Embed的开源直接提供了目前最强的检索底座,尤其适合需要精准长文本检索的场景。建议开发者尽快在Hugging Face上尝试并评估其在自身数据上的表现。

AI模型#Hugging Face#Nemotron-3 Embed#NVIDIA

引用前请核对原文